perf_counter tools: Merge common code into perfcounters.h
commitcea92ce5b07078cd62c4712d51390b09a43dba2e
authorWu Fengguang <fengguang.wu@intel.com>
Fri, 20 Mar 2009 02:08:02 +0000 (20 10:08 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 6 Apr 2009 07:30:20 +0000 (6 09:30 +0200)
treee14c059faa150f0e01d7c9082041ddbc10efb94b
parente0143bad9dbf2a8fad4c5430562bceba196b66ea
perf_counter tools: Merge common code into perfcounters.h

kerneltop's MAX_COUNTERS is increased from 8 to 64(the value used by perfstat).

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/kerneltop.c
Documentation/perf_counter/perfcounters.h [new file with mode: 0644]
Documentation/perf_counter/perfstat.c