From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759692AbZDBOAr (ORCPT ); Thu, 2 Apr 2009 10:00:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757500AbZDBOAh (ORCPT ); Thu, 2 Apr 2009 10:00:37 -0400 Received: from hera.kernel.org ([140.211.167.34]:55030 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758330AbZDBOAg (ORCPT ); Thu, 2 Apr 2009 10:00:36 -0400 Subject: Re: [tip:perfcounters/core] perf_counter: kerneltop: update to new ABI From: Jaswinder Singh Rajput To: mingo@redhat.com Cc: hpa@zytor.com, paulus@samba.org, linux-kernel@vger.kernel.org, a.p.zijlstra@chello.nl, tglx@linutronix.de, cjashfor@linux.vnet.ibm.com, mingo@elte.hu, linux-tip-commits@vger.kernel.org In-Reply-To: <1238679305.3099.11.camel@ht.satnam> References: <20090402091319.407283141@chello.nl> <1238679305.3099.11.camel@ht.satnam> Content-Type: text/plain Date: Thu, 02 Apr 2009 19:29:32 +0530 Message-Id: <1238680772.3099.13.camel@ht.satnam> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2009-04-02 at 19:05 +0530, Jaswinder Singh Rajput wrote: > On Thu, 2009-04-02 at 12:03 +0000, Peter Zijlstra wrote: > > Commit-ID: 373b153677f26a263ef297d77a5e045a31f6486c > > Gitweb: http://git.kernel.org/tip/373b153677f26a263ef297d77a5e045a31f6486c > > Author: Peter Zijlstra > > AuthorDate: Thu, 2 Apr 2009 11:12:02 +0200 > > Committer: Ingo Molnar > > CommitDate: Thu, 2 Apr 2009 13:53:00 +0200 > > > > perf_counter: kerneltop: update to new ABI > > > > Update to reflect the new record_type ABI changes. > > > > perfstat is still having many issues: > > 1. 0:6: bus-cycles is not valid for AMD, so it fails > > 2. ./perfstat -e 0:1,0:2,0:3,0:4,0:5,0:6 ls > can be replaced by ./perfstat -e 0:* ls > > 3. Similarly ./perfstat -e 1:1,1:2,1:3,1:4,1:5,1:6 ls > can be replaced by ./perfstat -e 1:* ls > > 4. All events can be replaced by ./perfstat -e * ls > 5. This command is invalid: Sample output: $ ./perfstat -e 1 -e 3 -e 5 ls -lR /usr/include/ >/dev/null -- JSR