Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752014Ab3FZImw (ORCPT ); Wed, 26 Jun 2013 04:42:52 -0400 Received: from mail-oa0-f54.google.com ([209.85.219.54]:50181 "EHLO mail-oa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751506Ab3FZImu (ORCPT ); Wed, 26 Jun 2013 04:42:50 -0400 MIME-Version: 1.0 Date: Wed, 26 Jun 2013 10:42:49 +0200 Message-ID: Subject: [BUG] perf report: garbage output with event grouping From: Stephane Eranian To: LKML Cc: Jiri Olsa , Namhyung Kim , Peter Zijlstra , "mingo@elte.hu" , Arnaldo Carvalho de Melo , David Ahern Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1522 Lines: 35 Hi, $ perf record -e 'cpi{cycles,instructions}' noploop 5 $ perf report --stdio --group # group: ^P^Q\{cycles,instructions} # ======== # # Samples: 39K of event '^P^Q\ { cycles, instructions }' # Event count (approx.): 37782563692 # # Overhead Command Shared Object Symbol # ................ ....... ................. ........................... # 99.91% 99.98% noploop noploop [.] main 0.06% -nan% noploop [kernel.kallsyms] [k] read_hpet 0.01% 0.01% noploop [kernel.kallsyms] [k] __acct_update_integrals 0.01% -nan% noploop [kernel.kallsyms] [k] raise_softirq 0.01% -nan% noploop [kernel.kallsyms] [k] apic_timer_interrupt 0.01% -nan% noploop [kernel.kallsyms] [k] __do_softirq 0.01% -nan% noploop [kernel.kallsyms] [k] common_interrupt 0.00% 0.00% noploop [kernel.kallsyms] [k] intel_pmu_enable_all 0.00% 0.01% noploop [kernel.kallsyms] [k] cpuacct_account_field 0.00% 0.01% noploop [kernel.kallsyms] [k] __local_bh_enable 1. The group name is garbage if not anonymous group. 2. arithmetic error in the overhead columns leading to NaN. 3. I assume the Overhead column order is the group event order. Is that right? -- 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/