aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/perf_counter/perf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/perf_counter/perf.h b/Documentation/perf_counter/perf.h
index a517683fc661..5a2520bb7e55 100644
--- a/Documentation/perf_counter/perf.h
+++ b/Documentation/perf_counter/perf.h
@@ -61,8 +61,8 @@ sys_perf_counter_open(struct perf_counter_hw_event *hw_event_uptr,
61 group_fd, flags); 61 group_fd, flags);
62} 62}
63 63
64#define MAX_COUNTERS 1024 64#define MAX_COUNTERS 256
65#define MAX_NR_CPUS 4096 65#define MAX_NR_CPUS 256
66 66
67#define EID(type, id) (((__u64)(type) << PERF_COUNTER_TYPE_SHIFT) | (id)) 67#define EID(type, id) (((__u64)(type) << PERF_COUNTER_TYPE_SHIFT) | (id))
68 68