* [PATCH] perf: Bump max number of cpus to 1024
@ 2015-03-24 16:10 David Ahern
2015-03-24 16:21 ` Arnaldo Carvalho de Melo
2015-03-27 7:40 ` [tip:perf/core] " tip-bot for David Ahern
0 siblings, 2 replies; 3+ messages in thread
From: David Ahern @ 2015-03-24 16:10 UTC (permalink / raw)
To: acme; +Cc: linux-kernel, David Ahern
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>
---
tools/perf/perf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index ee847c8af668..77c8857da123 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;
--
2.2.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] perf: Bump max number of cpus to 1024
2015-03-24 16:10 [PATCH] perf: Bump max number of cpus to 1024 David Ahern
@ 2015-03-24 16:21 ` Arnaldo Carvalho de Melo
2015-03-27 7:40 ` [tip:perf/core] " tip-bot for David Ahern
1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-03-24 16:21 UTC (permalink / raw)
To: David Ahern; +Cc: linux-kernel
Em Tue, Mar 24, 2015 at 12:10:38PM -0400, David Ahern escreveu:
> 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>
> ---
> tools/perf/perf.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/perf.h b/tools/perf/perf.h
> index ee847c8af668..77c8857da123 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
Humm, what do we have that still use this stuff? /me goes to check...
> extern const char *input_name;
> extern bool perf_host, perf_guest;
> --
> 2.2.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:perf/core] perf: Bump max number of cpus to 1024
2015-03-24 16:10 [PATCH] perf: Bump max number of cpus to 1024 David Ahern
2015-03-24 16:21 ` Arnaldo Carvalho de Melo
@ 2015-03-27 7:40 ` tip-bot for David Ahern
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for David Ahern @ 2015-03-27 7:40 UTC (permalink / raw)
To: linux-tip-commits; +Cc: mingo, david.ahern, hpa, tglx, acme, linux-kernel
Commit-ID: 4d255766d28b1fecec7e00ab4166b2c17bfc37be
Gitweb: http://git.kernel.org/tip/4d255766d28b1fecec7e00ab4166b2c17bfc37be
Author: David Ahern <david.ahern@oracle.com>
AuthorDate: Tue, 24 Mar 2015 12:10:38 -0400
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
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 <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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index 1caa70a..c38a085 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;
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-27 7:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-24 16:10 [PATCH] perf: Bump max number of cpus to 1024 David Ahern
2015-03-24 16:21 ` Arnaldo Carvalho de Melo
2015-03-27 7:40 ` [tip:perf/core] " tip-bot for David Ahern
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox