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

From: Jiri Olsa
Date: Thu Mar 12 2015 - 08:35:25 EST


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: Converted and wrote 0.000 MB (11 samples) ]
>
> With this patch:
>
> $ perf data convert --to-ctf ./out.ctf
> perf: event-types.c:1855: bt_ctf_field_type_set_native_byte_order: Assertion `byte_order == 1234 || byte_order == 4321' failed.
> Aborted
>
> I'll look into this problem if you haven't solved it yet. Please let me know if you have already
> have some solutions.

hum, never seen this.. any other details? you moved perf.data
through different endian server or something like that?

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/