diff options
author | David Ahern <david.ahern@oracle.com> | 2015-03-24 19:10:38 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-03-26 16:52:28 +0300 |
commit | 4d255766d28b1fecec7e00ab4166b2c17bfc37be (patch) | |
tree | f455ac0e1579ff1c5a309c9ee96af16232c3c450 /tools/perf/perf.h | |
parent | 23d4aad48e31d3269af484dd2f9bd251278cd667 (diff) | |
download | linux-4d255766d28b1fecec7e00ab4166b2c17bfc37be.tar.xz |
perf: Bump max number of cpus to 1024
SPARC based systems currently support up to 1024 cpus (e.g. T5-8).
Allow perf to work on those systems.
Signed-off-by: David Ahern <david.ahern@oracle.com>
Link: http://lkml.kernel.org/r/1427213438-127216-1-git-send-email-david.ahern@oracle.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r-- | tools/perf/perf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h index 1caa70a4a9e1..c38a085a5571 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h @@ -29,7 +29,7 @@ static inline unsigned long long rdclock(void) return ts.tv_sec * 1000000000ULL + ts.tv_nsec; } -#define MAX_NR_CPUS 256 +#define MAX_NR_CPUS 1024 extern const char *input_name; extern bool perf_host, perf_guest; |