Re: [PATCHv2 1/2] perf data: Show error message when conversion failed

2015-04-18 Thread Jiri Olsa
On Thu, Apr 09, 2015 at 11:45:21AM +0200, Jiri Olsa wrote: > On Thu, Apr 09, 2015 at 03:56:00PM +0800, He Kuang wrote: > > Show message when errors occurred during conversion setup and conversion > > process. > > > > Before this patch: > > $ ./perf data convert --to-ctf=ctf > > $ echo $? > >

Re: [PATCHv2 1/2] perf data: Show error message when conversion failed

2015-04-09 Thread Jiri Olsa
On Thu, Apr 09, 2015 at 03:56:00PM +0800, He Kuang wrote: > 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 > Erro

[PATCHv2 1/2] perf data: Show error message when conversion failed

2015-04-09 Thread He Kuang
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 --- tools/perf/util/data-c