public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Stephane Eranian <eranian@google.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Arnaldo Carvalho de Melo <acme@redhat.com>,
	mingo@elte.hu, Paul Mackerras <paulus@samba.org>,
	Robert Richter <robert.richter@amd.com>,
	Andi Kleen <andi@firstfloor.org>
Subject: Re: [BUG] perf_event: sampling buffer format cannot handle multi-event sampling
Date: Tue, 19 Apr 2011 23:20:56 +0200	[thread overview]
Message-ID: <1303248056.2035.66.camel@laptop> (raw)
In-Reply-To: <BANLkTi=GX3JGw-Dq+ejsCguV0A+9w2eCjQ@mail.gmail.com>

On Tue, 2011-04-19 at 21:16 +0000, Stephane Eranian wrote:
> > Or simply don't mix different sample_types in the same buffer?
> >
> Does the kernel disallow this when you merge the output via that
> ioctl()? 

No, it will happily comply and provide you with hard to parse output.
Just don't do that if you're not willing to untangle it ;-)


  reply	other threads:[~2011-04-19 21:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-19 19:10 [BUG] perf_event: sampling buffer format cannot handle multi-event sampling Stephane Eranian
2011-04-19 19:22 ` Peter Zijlstra
2011-04-19 21:16   ` Stephane Eranian
2011-04-19 21:20     ` Peter Zijlstra [this message]
2011-04-19 21:19       ` Stephane Eranian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1303248056.2035.66.camel@laptop \
    --to=peterz@infradead.org \
    --cc=acme@redhat.com \
    --cc=andi@firstfloor.org \
    --cc=eranian@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=paulus@samba.org \
    --cc=robert.richter@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox