projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5f3705
)
perf report: Add missing perf_hpp__init for pipe-mode
author
Namhyung Kim
<
[email protected]
>
Thu, 13 Sep 2012 04:14:30 +0000
(13:14 +0900)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Mon, 17 Sep 2012 16:11:33 +0000
(13:11 -0300)
The perf_hpp__init() function was only called from setup_browser() so
that the pipe-mode missed the initialization thus didn't respond to
related options. Fix it.
Reported-by: Robert Richter <
[email protected]
>
Tested-by: Robert Richter <
[email protected]
>
Signed-off-by: Namhyung Kim <
[email protected]
>
Cc: H. Peter Anvin <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Robert Richter <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc:
[email protected]
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/builtin-report.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-report.c
b/tools/perf/builtin-report.c
index b6696dd51cb08e22ab0da982182d05c1be207226..1da243dfbc3e7005ea9a64c195571f7ef1504c19 100644
(file)
--- a/
tools/perf/builtin-report.c
+++ b/
tools/perf/builtin-report.c
@@
-689,8
+689,10
@@
int cmd_report(int argc, const char **argv, const char *prefix __maybe_unused)
if (strcmp(report.input_name, "-") != 0)
setup_browser(true);
- else
+ else
{
use_browser = 0;
+ perf_hpp__init(false, false);
+ }
setup_sorting(report_usage, options);