perf tools: Convert critical messages to ui__error()
authorNamhyung Kim <namhyung@gmail.com>
Tue, 29 May 2012 04:22:57 +0000 (13:22 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 29 May 2012 14:53:42 +0000 (11:53 -0300)
commit3780f4883b2f3319afe88bf3ddc73ef426851d49
tree240a22d02b4ba502e5e68c1a6526db6338acc782
parent21f0d423b989284f82004d0f80c75581fec91fb2
perf tools: Convert critical messages to ui__error()

There were places where use ui__warning (or even fprintf) to show
critical messages. This patch converts them to ui__error so that the
front-end code can implement appropriate behavior.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1338265382-6872-3-git-send-email-namhyung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c
tools/perf/builtin-record.c
tools/perf/builtin-report.c
tools/perf/builtin-top.c