|
From: Julian S. <js...@ac...> - 2014-02-12 16:56:22
|
(guessing at both questions; JosefW would know for definite) > The default callgrind run and callgrind_annonate display shows Ir events, but > I only need to count function entries. Is there a way to only collect those > and have callgrind run faster?? I suspect not. In any case counting insns is not terribly expensive, so the gain you'd get would be modest. > callgrind_annotate has the --show option to only show specific events, but I > can't find a list of event names to feed it. Where should I be looking? I suspect the names are present in the callgrind.out file, and so callgrind_annotate just slices out those that you list. It doesn't itself know the names. But what part of the .c files of callgrind generates the names, I have no idea. J |