perf: Humanize the number of contexts
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 14 Aug 2010 18:45:13 +0000 (20:45 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 18 Aug 2010 23:32:53 +0000 (01:32 +0200)
commit7ae07ea3a48d30689ee037cb136bc21f0b37d8ae
tree2cb895a0794bcb2e45a4f48ef7e93302c1f6332c
parent927c7a9e92c4f69097a6e9e086d11fc2f8a5b40b
perf: Humanize the number of contexts

Instead of hardcoding the number of contexts for the recursions
barriers, define a cpp constant to make the code more
self-explanatory.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Stephane Eranian <eranian@google.com>
include/linux/perf_event.h
kernel/perf_event.c
kernel/trace/trace_event_perf.c