]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter: add PERF_RECORD_CONFIG
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 8 May 2009 16:52:23 +0000 (18:52 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 8 May 2009 18:36:58 +0000 (20:36 +0200)
commit66b5266bc8bb4c19a5e705981edbd89a849c9034
tree47a7fab94fe75dc75c0fdf8c590a6f41ef2be527
parent652bbd31b00c5aad40f15c317a319601702ff8a3
perf_counter: add PERF_RECORD_CONFIG

Much like CONFIG_RECORD_GROUP records the hw_event.config to
identify the values, allow to record this for all counters.

[ Impact: extend perfcounter output record format ]

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