Re: [Kcachegrind-callgrind] customizing kcachegrind for limited GNU make profile data
Status: Beta
Brought to you by:
weidendo
From: Rocky B. <ro...@gn...> - 2015-06-08 15:32:25
|
If we agree on an acceptable way to accomplish the simplification, perhaps I'll work something up. The big picture is that while kcachegrind has a lot of features and many of them are cool, there are number of situations where buttons aren't applicable. In those cases, I think it would be great to grey out or hide the buttons. My take is hide the buttons. And my take is that doing this automatically is preferable to having a user deselect things that aren't applicable. So is it feasible to remove grouping by ELF object or class in the dropdown and the "Machine Code" tab if there isn't any machine code as determined by the specific data? On Mon, Jun 8, 2015 at 10:15 AM, Josef Weidendorfer < Jos...@gm...> wrote: > Hi Rocky, > > of course it would be nice to make kcachegrind (or the pure Qt version > qcachegrind) > usable for other visualization needs, as long as this makes some sense. > > What do you actually see missing? > The current format already makes instruction addresses optional, but a > more explicit > way to toggle visualizations on/off may be useful. > > If you have a patch available, just send it. > > Best, > Josef > > Am 31.05.2015 um 16:19 schrieb Rocky Bernstein: > > I've recently discovered kcachegrind and it is awesome. I am using it to > > show profiling and callgraph data for GNU make runs in afork of GNU make > > that adds profiling <http://bashdb.sourceforge.net/remake/> > > > > Of course, in the context of GNU Make profile data, there is an analogy > > going on (e.g. stack of target dependencies being made is approximately > > a call stack). Not all of the features you would find in profiling a > > machine executable are relevant. Specifically, there are no machine > > instructions so the "Machine Code" tab is useless. And "grouping" by ELF > > object or Class is also not meaningful. > > > > Is there a way to tell kcachegrind to hide or disable such options? > > > > Thanks. > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > Kcachegrind-callgrind mailing list > > Kca...@li... > > https://lists.sourceforge.net/lists/listinfo/kcachegrind-callgrind > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Kcachegrind-callgrind mailing list > Kca...@li... > https://lists.sourceforge.net/lists/listinfo/kcachegrind-callgrind > |