Re: specifying raw perf events

From: Borislav Petkov
Date: Tue Sep 25 2012 - 13:11:55 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/