diff options
author | He Kuang <hekuang@huawei.com> | 2015-04-18 17:50:14 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-04-29 10:37:45 -0300 |
commit | c21410554ee1a8e12fbc99f578d720b641cd1c74 (patch) | |
tree | 0eb7de77fc2b82d4d5f75f6f251b3db0951099db /tools/lib | |
parent | a0b404f4c0820a934ae1b6ce39d8a4a0f01a7a20 (diff) | |
download | linux-c21410554ee1a8e12fbc99f578d720b641cd1c74.tar.gz linux-c21410554ee1a8e12fbc99f578d720b641cd1c74.tar.bz2 linux-c21410554ee1a8e12fbc99f578d720b641cd1c74.zip |
perf data: Show error message when conversion failed
Show message when errors occurred during conversion setup and conversion
process.
Before this patch:
$ ./perf data convert --to-ctf=ctf
$ echo $?
255
After this patch:
$ ./perf data convert --to-ctf=ctf
Error during conversion setup.
Signed-off-by: He Kuang <hekuang@huawei.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jeremie Galarneau <jgalar@efficios.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-xvhr1vf7zav9kkeo9w1hv4uk@git.kernel.org
Link: http://lkml.kernel.org/r/1429372220-6406-2-git-send-email-jolsa@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions