diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-05-22 12:18:28 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-22 12:18:28 -0400 |
commit | c6eb13847ba081552d2af644219bddeff7110caf (patch) | |
tree | cbea27720a334563300654b6d6bb2c5bd9099daf | |
parent | 910431c7f2e963017d767b29c80ae706421e569f (diff) |
perf_counter tools: increase limits
I tried to run with 300 active counters and the tools bailed out
because our limit was at 64. So increase the counter limit to 1024
and the CPU limit to 4096.
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | Documentation/perf_counter/perf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/perf_counter/perf.h b/Documentation/perf_counter/perf.h index 6fa3656399f4..81a737444c8f 100644 --- a/Documentation/perf_counter/perf.h +++ b/Documentation/perf_counter/perf.h | |||
@@ -54,8 +54,8 @@ sys_perf_counter_open(struct perf_counter_hw_event *hw_event_uptr, | |||
54 | group_fd, flags); | 54 | group_fd, flags); |
55 | } | 55 | } |
56 | 56 | ||
57 | #define MAX_COUNTERS 64 | 57 | #define MAX_COUNTERS 1024 |
58 | #define MAX_NR_CPUS 256 | 58 | #define MAX_NR_CPUS 4096 |
59 | 59 | ||
60 | #define EID(type, id) (((__u64)(type) << PERF_COUNTER_TYPE_SHIFT) | (id)) | 60 | #define EID(type, id) (((__u64)(type) << PERF_COUNTER_TYPE_SHIFT) | (id)) |
61 | 61 | ||