linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG(?)] perf_events: combining multiple tracepoint events into a group produces no counts on member events
@ 2010-12-01  1:00 Corey Ashford
  2010-12-01 11:46 ` Peter Zijlstra
  2010-12-02  8:58 ` Corey Ashford
  0 siblings, 2 replies; 12+ messages in thread
From: Corey Ashford @ 2010-12-01  1:00 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra, Frederic Weisbecker, LKML,
	Stephane Eranian


Hi,

I'm not sure that what I'm seeing is a bug, or was something intentional.

If I place multiple tracepoint events into a group and measure counts of 
these events on a process, I get no counts for the tracepoint events 
other than the group leader.

Is this expected behavior?

It's not clear to me why this should be the case; grouping shouldn't 
have any ill effects on tracepoint events, from my understanding.

I noticed this because my private version of the perf tool has the event 
group patch https://lkml.org/lkml/2010/11/24/584 as well as the patch 
which fixes the parsing of multiple tracepoint events in the same -e 
switch: https://lkml.org/lkml/2010/11/30/460

When I dig into the code a bit, I find that each event opens 
successfully, so that's not the problem.  If I disable the grouping, 
then I get counts for all of the tracepoint events.

- Corey


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

end of thread, other threads:[~2010-12-09 19:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-01  1:00 [BUG(?)] perf_events: combining multiple tracepoint events into a group produces no counts on member events Corey Ashford
2010-12-01 11:46 ` Peter Zijlstra
2010-12-01 12:04   ` Peter Zijlstra
2010-12-01 18:02     ` Frederic Weisbecker
2010-12-01 18:52       ` Peter Zijlstra
2010-12-02 17:56         ` Frederic Weisbecker
2010-12-01 18:29     ` Frederic Weisbecker
2010-12-01 18:37       ` Peter Zijlstra
2010-12-01 19:22   ` Corey Ashford
2010-12-01 19:30     ` Peter Zijlstra
2010-12-02  8:58 ` Corey Ashford
2010-12-09 19:56   ` Peter Zijlstra

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).