mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* perf: FORMAT_GROUP on attached process stops working in 3.16-rc
@ 2014-07-15 14:36 Vince Weaver
  2014-07-15 14:37 ` Peter Zijlstra
  2014-07-15 15:35 ` Peter Zijlstra
  0 siblings, 2 replies; 3+ messages in thread
From: Vince Weaver @ 2014-07-15 14:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo, Stephane Eranian

Hello

I noticed in the 3.16-rc kernels that one of my regression tests was 
failing, specifically
	https://github.com/deater/perf_event_tests/blob/master/tests/bugs/read_group_attached.c

This test creates an event group with two events and PERF_FORMAT_GROUP
set.

It creates a child process, stops it, attaches the event group to it, 
starts the events and the child, waits for the child to finish, stops the
events, then reads the value.

In theory a subsequent read from the group leader should return values for 
*both* events (due to PERF_FORMAT_GROUP) but this stopped working, it only 
returns the value for the leader.

I've bisected it down to change: 15a2d4de0eab5 
	"perf: Always destroy groups on exit"

So is this expected behavior due to this patch, or is it a regression?

Thanks,

Vince

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

end of thread, other threads:[~2014-07-15 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-15 14:36 perf: FORMAT_GROUP on attached process stops working in 3.16-rc Vince Weaver
2014-07-15 14:37 ` Peter Zijlstra
2014-07-15 15:35 ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome