On Tue, 29 Jan 2013, Jiri Olsa wrote: > ok, there's been perf fixies wrt enable events groups, but they > landed in 3.8-rc1.. until that point all the group members are > specifically enabled, so that's why your perf is working and > mine not.. > > Anyway, seems like there's bug in kernel code when we have group > with sw and hw counters. > > Attached path makes your test case working for me. I'll give it some > more thoughts & testing and send it out soon. If you like to test, > please go ahead.
I've added a test to my perf_event_test testsuite to look for this bug. http://www.eece.maine.edu/~vweaver/projects/perf_events/validation/ In my (minimal) testing so far it looks like this bug does exist in 3.2 but does not in 2.6.35. Is anyone curious enough to do a bisect to find out when it was introduced? Vince -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html