]> git.karo-electronics.de Git - linux-beck.git/commit
perf_counter tools: increase limits, fix
authorIngo Molnar <mingo@elte.hu>
Mon, 25 May 2009 07:59:50 +0000 (09:59 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 25 May 2009 07:59:50 +0000 (09:59 +0200)
commit85a9f9200226ddffc2ea50dae6a8df04c033ecd4
tree6d6068dda59a6645f278318f67390a8c24464ff4
parenta3862d3f814ce7dfca9eed56ac23d29db3aee8d5
perf_counter tools: increase limits, fix

NR_CPUS and NR_COUNTERS goes up quadratic ... 1024x4096 was far
too ambitious upper limit - go for 256x256 which is still plenty.

[ Impact: reduce perf tool memory consumption ]

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/perf.h