[tip:perf/core] perf tools: Remove cast of non-variadic function to variadic

2013-11-03 Thread tip-bot for Michael Hudson-Doyle
Commit-ID: 53805eca3d89b095062c11a6798689bb0af09216 Gitweb: http://git.kernel.org/tip/53805eca3d89b095062c11a6798689bb0af09216 Author: Michael Hudson-Doyle AuthorDate: Thu, 31 Oct 2013 16:47:45 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 1 Nov 2013 10:40:51 -0300 perf

Re: [PATCH v2] perf tools: Remove cast of non-variadic function to variadic

2013-11-01 Thread Michael Hudson-Doyle
Arnaldo Carvalho de Melo writes: > Em Thu, Oct 31, 2013 at 04:47:45PM -0700, Michael Hudson-Doyle escreveu: >> -int percent_color_snprintf(char *bf, size_t size, const char *fmt, double >> percent) >> +int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...

[PATCH v2] perf tools: Remove cast of non-variadic function to variadic

2013-10-31 Thread Michael Hudson-Doyle
output. Signed-off-by: Michael Hudson-Doyle Acked-by: Will Deacon Cc: --- tools/perf/ui/hist.c| 2 +- tools/perf/util/color.c | 11 +-- tools/perf/util/color.h | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c index

Re: [PATCH] perf tools: Remove cast of non-varadic function to varadic

2013-10-31 Thread Michael Hudson-Doyle
Arnaldo Carvalho de Melo writes: > Em Thu, Oct 31, 2013 at 12:50:25PM -0700, Michael Hudson-Doyle escreveu: >> 4fb71074a570 (perf ui/hist: Consolidate hpp helpers) introduced a cast of >> percent_color_snprintf to a function pointer type with varargs. Change >> percent

[PATCH] perf tools: Remove cast of non-varadic function to varadic

2013-10-31 Thread Michael Hudson-Doyle
on armhf. Signed-off-by: Michael Hudson-Doyle --- tools/perf/ui/hist.c| 2 +- tools/perf/util/color.c | 11 +-- tools/perf/util/color.h | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c index 0a19328..78f4c92 100644

perf confused by modules being loaded in between addresses in /proc/kallsyms

2013-10-29 Thread Michael Hudson-Doyle
Hi, On arm, probably since "ARM: use linker magic for vectors and vector stubs" (although I haven't checked this), perf report tends to allocate all kernel time to the module loaded at the highest address. This turns out to be because the "perf_event__synthesize_modules" generates a PERF_RECORD_M