From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756450AbZHFRsA (ORCPT ); Thu, 6 Aug 2009 13:48:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755996AbZHFRsA (ORCPT ); Thu, 6 Aug 2009 13:48:00 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:5817 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755602AbZHFRr7 (ORCPT ); Thu, 6 Aug 2009 13:47:59 -0400 X-IronPort-AV: E=Sophos;i="4.43,334,1246831200"; d="scan'208";a="30863821" Message-ID: <4A7B175B.8030000@inria.fr> Date: Thu, 06 Aug 2009 19:48:11 +0200 From: Brice Goglin User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Peter Zijlstra CC: Ingo Molnar , paulus@samba.org, LKML Subject: Re: [perf] howto switch from pfmon References: <4A3FEF75.2020804@inria.fr> <20090623131450.GA31519@elte.hu> <20090623134749.GA6897@elte.hu> <4A40DFF5.7010207@inria.fr> <20090623143601.GA13415@elte.hu> <4A40F31F.4030609@inria.fr> <20090629192913.GA29295@elte.hu> <4A7B0C02.7060704@inria.fr> <1249580428.4975.14.camel@laptop> In-Reply-To: <1249580428.4975.14.camel@laptop> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Peter Zijlstra wrote: > On Thu, 2009-08-06 at 18:59 +0200, Brice Goglin wrote: > > >> I can easily sort them by thread id, but I don't know how to match my 4 >> events with each group of 4 line. >> >> Maybe perf report earned some better way to show per-thread statistics >> in the meantime? >> > > Nah, it needs some love.. > > The below might be a starting point, it compiles, didn't check the > result. builtin-stat might be a nice place to look for more bits.. > Thanks, now I get for each thread: 0x8fc0 [0x30]: PERF_EVENT_READ: 6268 6268 FAIL 209113 0x9698 [0x30]: PERF_EVENT_READ: 6268 6268 FAIL 307215 0x9cf8 [0x30]: PERF_EVENT_READ: 6268 6268 FAIL 9203221 0x8bb8 [0x30]: PERF_EVENT_READ: 6268 6268 raw 0x1000001e0 494628 Looks like it fails to stringified my raw events except the first one. Brice