projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23d4aad
)
perf: Bump max number of cpus to 1024
author
David Ahern
<david.ahern@oracle.com>
Tue, 24 Mar 2015 16:10:38 +0000
(12:10 -0400)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Thu, 26 Mar 2015 13:52:28 +0000
(10:52 -0300)
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>
tools/perf/perf.h
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/perf.h
b/tools/perf/perf.h
index 1caa70a4a9e1bb96b759f02de14ab3aabe257b33..c38a085a5571076301b48e9e30622d352677e58b 100644
(file)
--- 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;