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:
42c59cd
)
perf ui: Make --stdio default when TUI is not supported
author
Namhyung Kim
<
[email protected]
>
Mon, 28 May 2012 14:53:22 +0000
(23:53 +0900)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Mon, 28 May 2012 16:29:54 +0000
(13:29 -0300)
The commit
dc41b9b8f02db
("perf ui: Change fallback policy of
setup_browser") changed default behavior of the function but missed
setting the use_browser variable to 0 accidently. So perf report ends up
doing nothing in such cases. Fix it.
Signed-off-by: Namhyung Kim <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/ui/setup.c
patch
|
blob
|
history
diff --git
a/tools/perf/ui/setup.c
b/tools/perf/ui/setup.c
index 9f5f888f73e30723d5f9c0fd8281345f38e0635e..791fb15ce3507c2d42d695be12c1f87a16affa0f 100644
(file)
--- a/
tools/perf/ui/setup.c
+++ b/
tools/perf/ui/setup.c
@@
-22,6
+22,7
@@
void setup_browser(bool fallback_to_pager)
break;
/* fall through */
default:
+ use_browser = 0;
if (fallback_to_pager)
setup_pager();
break;