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:
1f91d5f
)
perf report: Force tty output if -T/--thread option is given
author
Namhyung Kim
<
[email protected]
>
Sat, 9 May 2015 15:19:43 +0000
(
00:19
+0900)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Tue, 12 May 2015 12:59:48 +0000
(09:59 -0300)
The -T/--thread option is supported only on --stdio mode (at least for
now). So enforce the tty output if the option was requested.
Signed-off-by: Namhyung Kim <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Jiri Olsa <
[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/builtin-report.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-report.c
b/tools/perf/builtin-report.c
index 62b49ca0fc7b0533ab7e957bce88ecfb436c297b..4d642db642c5a286b92a44ef6252741a1b0ac26c 100644
(file)
--- a/
tools/perf/builtin-report.c
+++ b/
tools/perf/builtin-report.c
@@
-815,8
+815,8
@@
repeat:
goto error;
}
- /* Force tty output for header output. */
- if (report.header || report.header_only)
+ /* Force tty output for header output
and per-thread stat
. */
+ if (report.header || report.header_only
|| report.show_threads
)
use_browser = 0;
if (strcmp(input_name, "-") != 0)