]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Rework/fix the whole read vs group stuff
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 13 Aug 2009 09:47:53 +0000 (11:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 13 Aug 2009 10:58:04 +0000 (12:58 +0200)
commitc08df1b09b4f848d03d4e06b84de6ca5cad81ce2
tree9b0a47c53784cb066cecfd3091ac6042ce21a29e
parentc90a34449a69c1436d3db43b1565e68194bdee7c
perf: Rework/fix the whole read vs group stuff

Replace PERF_SAMPLE_GROUP with PERF_SAMPLE_READ and introduce
PERF_FORMAT_GROUP to deal with group reads in a more generic
way.

This allows you to get group reads out of read() as well.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Corey J Ashford <cjashfor@us.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: stephane eranian <eranian@googlemail.com>
LKML-Reference: <20090813103655.117411814@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
kernel/perf_counter.c