diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-08-03 12:33:24 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-08-03 12:33:24 -0300 |
commit | 00894ce9b85887caa0c16e18757004b9cc9f64cf (patch) | |
tree | 0f64fd92048d0b782c7fa025625f97bb06391207 /kernel/Makefile | |
parent | 3e9f45a7a4179604ccbae1589de0e7165bc6fcd0 (diff) | |
download | linux-00894ce9b85887caa0c16e18757004b9cc9f64cf.tar.bz2 |
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 <asharma@fb.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sam Liao <phyomh@gmail.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-ag9fz2wd17mbbfjsbznq1wms@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'kernel/Makefile')
0 files changed, 0 insertions, 0 deletions