All of lore.kernel.org
 help / color / mirror / Atom feed
* perf record of multiple events: disable callgraph for some events
@ 2015-10-04 11:48 Milian Wolff
  2015-10-04 20:40 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 4+ messages in thread
From: Milian Wolff @ 2015-10-04 11:48 UTC (permalink / raw)
  To: perf group

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

Hey all,

would it be possible to add a feature to perf to only grab callgraphs for a 
certain selection of events? E.g. thinking about a lock contention profile of 
a Qt application, I'd listen to 

-e syscalls:sys_enter_futex,syscalls:sys_exit_futex

Now, with the dwarf unwinder this easily produces huge data files in the order 
of gigabytes. This cost could easily be reduced by a factor of two, as one 
only needs the callgraphs for syscalls:sys_enter_futex - the TID should be 
enough to find the callgraph for the enter event from the exit trace point.

Could someone guide me in implementing such a feature to make it possible to 
filter the events which trigger the collection of a callgraph? Or is that 
already possible somehow?

Thanks
-- 
Milian Wolff | milian.wolff@kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5903 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-09 14:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-04 11:48 perf record of multiple events: disable callgraph for some events Milian Wolff
2015-10-04 20:40 ` Arnaldo Carvalho de Melo
2015-10-09 14:08   ` Milian Wolff
2015-10-09 14:31     ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.