From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933582Ab0DHVL2 (ORCPT ); Thu, 8 Apr 2010 17:11:28 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:59109 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933038Ab0DHVL1 (ORCPT ); Thu, 8 Apr 2010 17:11:27 -0400 Subject: Re: [PATCH] perf_events: fix bogus warn_on(_once) in perf_prepare_sample() From: Peter Zijlstra To: Stephane Eranian Cc: linux-kernel@vger.kernel.org, mingo@elte.hu, paulus@samba.org, davem@davemloft.net, fweisbec@gmail.com, robert.richter@amd.com, perfmon2-devel@lists.sf.net, eranian@gmail.com In-Reply-To: References: <4bbe4175.5124cc0a.5bd3.22d6@mx.google.com> <1270760136.20295.3121.camel@laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 08 Apr 2010 23:11:23 +0200 Message-ID: <1270761083.20295.3158.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2010-04-08 at 23:08 +0200, Stephane Eranian wrote: > > Are you suggesting you add some padding the PEBS raw sample you > return as PERF_SAMPLE_RAW? Then you need to define what RAW > actually means? Seems here, it would mean more than what the > HW returns. Well, RAW doesn't mean anything much at all, its really a fugly pass some crap around thing. So yeah, adding padding seems just fine.