From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757506Ab2IYRMF (ORCPT ); Tue, 25 Sep 2012 13:12:05 -0400 Received: from mail.x86-64.org ([217.9.48.20]:42347 "EHLO mail.x86-64.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756585Ab2IYRMD (ORCPT ); Tue, 25 Sep 2012 13:12:03 -0400 Date: Tue, 25 Sep 2012 19:11:55 +0200 From: Borislav Petkov To: Arnaldo Carvalho de Melo Cc: LKML Subject: Re: specifying raw perf events Message-ID: <20120925171155.GE6982@aftab.osrc.amd.com> References: <20120925155235.GA6982@aftab.osrc.amd.com> <20120925170201.GD14405@ghostprotocols.net> <20120925170349.GE14405@ghostprotocols.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120925170349.GE14405@ghostprotocols.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 25, 2012 at 10:03:49AM -0700, Arnaldo Carvalho de Melo wrote: > Em Tue, Sep 25, 2012 at 10:02:01AM -0700, Arnaldo Carvalho de Melo escreveu: > > Em Tue, Sep 25, 2012 at 05:52:35PM +0200, Borislav Petkov escreveu: > > > I'm trying to use raw events and to read how exactly they're specified. > > > Here's what do: > > > > > > $ perf list -h > > > > > > ... > > > rNNN [Raw hardware event descriptor] > > > cpu/t1=v1[,t2=v2,t3 ...]/modifier [Raw hardware event descriptor] > > > (see 'perf list --help' on how to encode it) > > > ... > > > > > > $ perf list --help > > > $ > > > > > > No help. :-( > > > > > > $ perf --version > > > perf version 3.6.rc7.1723.g226ea0 > > > > > > That's latest Linus + tip/auto-latest. > > > > $ make -C tools/perf/Documentation install Ok, this target doesn't get triggered automatically from $ make tools/perf_install Should we change that? Also, after I run it, $ perf list --help $ still doesn't show anything. (running it as non-root). > If done as non-root: > > man -M ~/share/man/ perf-list This one works. But looks like "perf list --help" needs fixing? Thanks. -- Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551