diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2011-08-03 12:33:24 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-08-03 12:33:24 -0300 |
commit | 00894ce9b85887caa0c16e18757004b9cc9f64cf (patch) | |
tree | 0f64fd92048d0b782c7fa025625f97bb06391207 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 3e9f45a7a4179604ccbae1589de0e7165bc6fcd0 (diff) |
perf report: Use ui__warning in some more places
So that we get a proper warning in the TUI in cases like:
$ perf report --stdio -g fractal,0.5,caller --sort pid
Selected -g but no callchain data. Did you call 'perf record' without -g?
$
The --stdio case is ok because it uses fprintf, ui__warning is needed to
figure out if --stdio or --tui is being used.
Cc: Arun Sharma <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sam Liao <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions