summaryrefslogtreecommitdiff
path: root/tools/perf/util
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-08-03 19:33:24 +0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-08-03 19:33:24 +0400
commit00894ce9b85887caa0c16e18757004b9cc9f64cf (patch)
tree0f64fd92048d0b782c7fa025625f97bb06391207 /tools/perf/util
parent3e9f45a7a4179604ccbae1589de0e7165bc6fcd0 (diff)
downloadlinux-00894ce9b85887caa0c16e18757004b9cc9f64cf.tar.xz
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 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions