linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf event group siblings not counting in mainline
@ 2011-12-24 12:54 Will Deacon
  2012-01-10 11:09 ` Will Deacon
  0 siblings, 1 reply; 4+ messages in thread
From: Will Deacon @ 2011-12-24 12:54 UTC (permalink / raw)
  To: a.p.zijlstra; +Cc: mingo, linux-kernel

Hi Peter,

If I try using perf with event groups on a mainline kernel, only the group
leader counts:


linaro@mashed-potato:~$ perf stat --no-scale -g -e task-clock -e cpu-clock -e cs -- ls
hwb  linux

 Performance counter stats for 'ls':

         17.545541 task-clock                #    0.634 CPUs utilized
          0.000000 cpu-clock
                 0 cs                        #    0.000 M/sec

       0.027684984 seconds time elapsed


This is fixed by b79387ef ("perf: Fix enable_on_exec for sibling events")
in -next (20111222) but I can't see this queued anywhere for 3.2 (I thought
I might see it in -rc7).

Is this going in for the final cut, or will groups just be borked until 3.3?

Cheers,

Will

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

end of thread, other threads:[~2012-01-10 11:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-24 12:54 perf event group siblings not counting in mainline Will Deacon
2012-01-10 11:09 ` Will Deacon
2012-01-10 11:16   ` Peter Zijlstra
2012-01-10 11:56     ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).