Re: [PATCH 1/2] perf data: Show error message when ctf setup failed

2015-04-18 Thread Jiri Olsa
On Tue, Apr 14, 2015 at 01:47:51PM -0400, Jérémie Galarneau wrote: > Should be fixed as of this commit. > > commit 29664b2a3a15c7233d916887d2f58fc42e18521e > Author: Philippe Proulx > Date: Mon Apr 13 18:14:59 2015 -0400 > > Fix: ir: make sure "stream_id" attr is always right > > Make

Re: [PATCH 1/2] perf data: Show error message when ctf setup failed

2015-04-14 Thread Jérémie Galarneau
Should be fixed as of this commit. commit 29664b2a3a15c7233d916887d2f58fc42e18521e Author: Philippe Proulx Date: Mon Apr 13 18:14:59 2015 -0400 Fix: ir: make sure "stream_id" attr is always right Make sure the "stream_id" attribute of all the event classes of a given stream class

Re: [PATCH 1/2] perf data: Show error message when ctf setup failed

2015-04-13 Thread Jérémie Galarneau
On Fri, Apr 10, 2015 at 8:37 AM, Jiri Olsa wrote: > On Fri, Apr 10, 2015 at 02:05:45PM +0200, Jiri Olsa wrote: > > SNIP > >> > >>I tested by using babeltrace binary and it works. >> > >> >> > >>After receiving your reply, I test on the latest tracecompass. A >> > >>folder named 'ctf' is showed ins

Re: [PATCH 1/2] perf data: Show error message when ctf setup failed

2015-04-09 Thread Alexandre Montplaisir
On 2015-04-09 05:46 AM, Jiri Olsa wrote: On Thu, Apr 09, 2015 at 04:19:20PM +0800, He Kuang wrote: Hi, jirka On 2015/4/9 1:45, Jiri Olsa wrote: On Wed, Apr 08, 2015 at 12:49:19PM +0800, He Kuang wrote: Show message when errors occurred during ctf conversion setup. Before this patch: $ ./pe

Re: [PATCH 1/2] perf data: Show error message when ctf setup failed

2015-04-09 Thread Jiri Olsa
On Thu, Apr 09, 2015 at 04:19:20PM +0800, He Kuang wrote: > Hi, jirka > On 2015/4/9 1:45, Jiri Olsa wrote: > >On Wed, Apr 08, 2015 at 12:49:19PM +0800, He Kuang wrote: > >>Show message when errors occurred during ctf conversion setup. > >> > >>Before this patch: > >> $ ./perf data convert --to-ct

Re: [PATCH 1/2] perf data: Show error message when ctf setup failed

2015-04-09 Thread He Kuang
Hi, jirka On 2015/4/9 1:45, Jiri Olsa wrote: On Wed, Apr 08, 2015 at 12:49:19PM +0800, He Kuang wrote: Show message when errors occurred during ctf conversion setup. Before this patch: $ ./perf data convert --to-ctf=ctf $ echo $? 255 After this patch: $ ./perf data convert --to-ctf

Re: [PATCH 1/2] perf data: Show error message when ctf setup failed

2015-04-08 Thread Jiri Olsa
On Wed, Apr 08, 2015 at 12:49:19PM +0800, He Kuang wrote: > Show message when errors occurred during ctf conversion setup. > > Before this patch: > $ ./perf data convert --to-ctf=ctf > $ echo $? > 255 > > After this patch: > $ ./perf data convert --to-ctf=ctf > Error during CTF convert

[PATCH 1/2] perf data: Show error message when ctf setup failed

2015-04-07 Thread He Kuang
Show message when errors occurred during ctf conversion setup. Before this patch: $ ./perf data convert --to-ctf=ctf $ echo $? 255 After this patch: $ ./perf data convert --to-ctf=ctf Error during CTF convert setup. Signed-off-by: He Kuang --- tools/perf/util/data-convert-bt.c | 8 ++