From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933021AbbI3Vga (ORCPT ); Wed, 30 Sep 2015 17:36:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44272 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932845AbbI3VgU (ORCPT ); Wed, 30 Sep 2015 17:36:20 -0400 Date: Wed, 30 Sep 2015 23:36:15 +0200 From: Jiri Olsa To: "Liang, Kan" Cc: Jiri Olsa , Arnaldo Carvalho de Melo , Andi Kleen , Ulrich Drepper , Will Deacon , Stephane Eranian , Don Zickus , lkml , David Ahern , Ingo Molnar , Namhyung Kim , Peter Zijlstra Subject: Re: [PATCHv2 00/45] perf stat: Add scripting support Message-ID: <20150930213615.GB777@krava.redhat.com> References: <1443622258-17158-1-git-send-email-jolsa@kernel.org> <37D7C6CF3E00A74B8858931C1DB2F07701953495@SHSMSX103.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37D7C6CF3E00A74B8858931C1DB2F07701953495@SHSMSX103.ccr.corp.intel.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 Wed, Sep 30, 2015 at 09:09:39PM +0000, Liang, Kan wrote: SNIP > > instructions:u > > > > - To display different aggregation in report: > > > > > This one doesn't work well with uncore event. > > sudo ./perf stat -e uncore_imc_1/cas_count_read/ -a --per-socket record > -- sleep 5 > Performance counter stats for 'system wide': > > S0 1 0.87 MiB uncore_imc_1/cas_count_read/ > S1 1 0.41 MiB uncore_imc_1/cas_count_read/ > > 5.000910939 seconds time elapsed > > sudo ./perf stat report --per-socket > > Performance counter stats for '/home/lk/group_read/test/perf/tools/ > perf/perf stat -e uncore_imc_1/cas_count_read/ -a --per-socket record > -- sleep 5': > > S0 36 20,973 uncore_imc_1/cas_count_read/ > S1 28 uncore_imc_1/cas_count_read/ hum, looks like there's some issue with unit/scale handling I'll address that in next version thanks for fast feedback, jirka