perf: Bump max number of cpus to 1024
PATCH 1/1 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 <[email protected]>
--- tools/perf/perf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/perf.h +1 -1
@@ -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 1024extern const char *input_name;extern bool perf_host, perf_guest;
Signature · 1 line
2.2.1
Arnaldo Carvalho de Melo
maintainerEm Tue, Mar 24, 2015 at 12:10:38PM -0400, David Ahern escreveu:
Quoted 13 lines
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 <[email protected]>--- tools/perf/perf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/perf/perf.h +0
-0
tools/perf/perf.h static inline unsigned long long rdclock(void) · line 32
Quoted 5 lines
tools/perf/perf.h +1
-1@@ -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
Humm, what do we have that still use this stuff? /me goes to check...
Quoted 4 lines
tools/perf/perf.h +0
-0extern const char *input_name;extern bool perf_host, perf_guest;Signature · 1 line
2.2.1
tip-bot for David Ahern
merge botperf: Bump max number of cpus to 1024
Commit-ID: 4d255766d28b1fecec7e00ab4166b2c17bfc37be Gitweb: http://git.kernel.org/tip/4d255766d28b1fecec7e00ab4166b2c17bfc37be Author: David Ahern <[email protected]> AuthorDate: Tue, 24 Mar 2015 12:10:38 -0400 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Thu, 26 Mar 2015 10:52:28 -0300
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 <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/perf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/perf.h +1 -1
@@ -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 1024extern const char *input_name;extern bool perf_host, perf_guest;