Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753979Ab2FMNl5 (ORCPT ); Wed, 13 Jun 2012 09:41:57 -0400 Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]:36177 "EHLO mail-lpp01m010-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753196Ab2FMNl4 (ORCPT ); Wed, 13 Jun 2012 09:41:56 -0400 MIME-Version: 1.0 In-Reply-To: <1339594802.8980.44.camel@twins> References: <1339420814-7379-1-git-send-email-jolsa@redhat.com> <1339420814-7379-3-git-send-email-jolsa@redhat.com> <20120613131240.GB2538@m.brq.redhat.com> <1339594802.8980.44.camel@twins> Date: Wed, 13 Jun 2012 15:41:54 +0200 Message-ID: Subject: Re: [PATCH 02/19] perf: Add ability to attach user level registers dump to sample From: Stephane Eranian To: Peter Zijlstra Cc: Jiri Olsa , acme@redhat.com, mingo@elte.hu, paulus@samba.org, cjashfor@linux.vnet.ibm.com, fweisbec@gmail.com, gorcunov@openvz.org, tzanussi@gmail.com, mhiramat@redhat.com, robert.richter@amd.com, fche@redhat.com, linux-kernel@vger.kernel.org, masami.hiramatsu.pt@hitachi.com, drepper@gmail.com, asharma@fb.com, benjamin.redelings@nescent.org Content-Type: text/plain; charset=UTF-8 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 758 Lines: 19 On Wed, Jun 13, 2012 at 3:40 PM, Peter Zijlstra wrote: > On Wed, 2012-06-13 at 15:18 +0200, Stephane Eranian wrote: >> >> If you look carefully at perf_output_sample(), you will notice that data is >> written in the exact order of the enum perf_event_sample_format. > > Not so actually.. CALLCHAIN is out of order. Not sure why we did that > though. > > > But it should match the comment near PERF_RECORD_SAMPLE. Ok, yes that one. It would have been much nicer to follow the enum order. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/