Re: [PATCH 06/11] perf data: Switch to multiple cpu stream files

2015-03-13 Thread Jérémie Galarneau
On Thu, Mar 12, 2015 at 3:17 PM, Arnaldo Carvalho de Melo wrote: > Em Thu, Mar 12, 2015 at 09:40:09PM +0800, Wang Nan escreveu: >> On 2015/3/12 20:34, Jiri Olsa wrote: >> > On Thu, Mar 12, 2015 at 07:37:02PM +0800, Wang Nan wrote: >> >> Hi Jiri, >> >> >> >> Have you noticed that this patch causes

Re: [PATCH 06/11] perf data: Switch to multiple cpu stream files

2015-03-12 Thread Wang Nan
On 2015/3/13 3:59, Jérémie Galarneau wrote: > On Thu, Mar 12, 2015 at 3:17 PM, Arnaldo Carvalho de Melo > wrote: >> Em Thu, Mar 12, 2015 at 09:40:09PM +0800, Wang Nan escreveu: >>> On 2015/3/12 20:34, Jiri Olsa wrote: On Thu, Mar 12, 2015 at 07:37:02PM +0800, Wang Nan wrote: > Hi Jiri, >>

Re: [PATCH 06/11] perf data: Switch to multiple cpu stream files

2015-03-12 Thread Jérémie Galarneau
On Thu, Mar 12, 2015 at 3:17 PM, Arnaldo Carvalho de Melo wrote: > Em Thu, Mar 12, 2015 at 09:40:09PM +0800, Wang Nan escreveu: >> On 2015/3/12 20:34, Jiri Olsa wrote: >> > On Thu, Mar 12, 2015 at 07:37:02PM +0800, Wang Nan wrote: >> >> Hi Jiri, >> >> >> >> Have you noticed that this patch causes

Re: [PATCH 06/11] perf data: Switch to multiple cpu stream files

2015-03-12 Thread Arnaldo Carvalho de Melo
Em Thu, Mar 12, 2015 at 09:40:09PM +0800, Wang Nan escreveu: > On 2015/3/12 20:34, Jiri Olsa wrote: > > On Thu, Mar 12, 2015 at 07:37:02PM +0800, Wang Nan wrote: > >> Hi Jiri, > >> > >> Have you noticed that this patch causes a endianess problem? > >> > >> Without this patch: > >> > >> $ perf data

Re: [PATCH 06/11] perf data: Switch to multiple cpu stream files

2015-03-12 Thread Wang Nan
On 2015/3/12 20:34, Jiri Olsa wrote: > On Thu, Mar 12, 2015 at 07:37:02PM +0800, Wang Nan wrote: >> Hi Jiri, >> >> Have you noticed that this patch causes a endianess problem? >> >> Without this patch: >> >> $ perf data convert --to-ctf ./out.ctf >> [ perf data convert: Converted 'perf.data' into

Re: [PATCH 06/11] perf data: Switch to multiple cpu stream files

2015-03-12 Thread Jiri Olsa
On Thu, Mar 12, 2015 at 07:37:02PM +0800, Wang Nan wrote: > Hi Jiri, > > Have you noticed that this patch causes a endianess problem? > > Without this patch: > > $ perf data convert --to-ctf ./out.ctf > [ perf data convert: Converted 'perf.data' into CTF data './out.ctf' ] > [ perf data convert

Re: [PATCH 06/11] perf data: Switch to multiple cpu stream files

2015-03-12 Thread Wang Nan
Hi Jiri, Have you noticed that this patch causes a endianess problem? Without this patch: $ perf data convert --to-ctf ./out.ctf [ perf data convert: Converted 'perf.data' into CTF data './out.ctf' ] [ perf data convert: Converted and wrote 0.000 MB (11 samples) ] With this patch: $ perf dat

[PATCH 06/11] perf data: Switch to multiple cpu stream files

2015-02-20 Thread Jiri Olsa
From: Sebastian Andrzej Siewior Currently we store the data into single data strea/file. The cpu if data is stored within the event sample. The lttng puts the CPU number that belongs to the event into the packet context instead into the event. This patch makes sure that the trace produce by perf

[PATCH 06/11] perf data: Switch to multiple cpu stream files

2015-01-30 Thread Jiri Olsa
From: Sebastian Andrzej Siewior Currently we store the data into single data strea/file. The cpu if data is stored within the event sample. The lttng puts the CPU number that belongs to the event into the packet context instead into the event. This patch makes sure that the trace produce by perf