From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754457AbbCLMfW (ORCPT ); Thu, 12 Mar 2015 08:35:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37004 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754387AbbCLMfS (ORCPT ); Thu, 12 Mar 2015 08:35:18 -0400 Date: Thu, 12 Mar 2015 13:34:25 +0100 From: Jiri Olsa To: Wang Nan Cc: Jiri Olsa , linux-kernel@vger.kernel.org, Sebastian Andrzej Siewior , Arnaldo Carvalho de Melo , David Ahern , Frederic Weisbecker , Jeremie Galarneau , Namhyung Kim , Paul Mackerras , Peter Zijlstra , Tom Zanussi Subject: Re: [PATCH 06/11] perf data: Switch to multiple cpu stream files Message-ID: <20150312123425.GF8369@krava.redhat.com> References: <1424470628-5969-1-git-send-email-jolsa@kernel.org> <1424470628-5969-7-git-send-email-jolsa@kernel.org> <55017A5E.5040805@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55017A5E.5040805@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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