Re: [BUG] perf list: --help option not implemented

2012-10-22 Thread David Ahern
On 10/22/12 1:12 AM, Namhyung Kim wrote: It seems that commit cc5848213329 ("perf help: Remove use of die and handle errors") caused the problem - it changed the initial value of 'help_format' from HELP_FORMAT_MAN to HELP_FORMAT_NONE. The following patch works well for me: diff --git a/tools/pe

Re: [BUG] perf list: --help option not implemented

2012-10-22 Thread Jiri Olsa
On Mon, Oct 22, 2012 at 04:12:23PM +0900, Namhyung Kim wrote: > Hi, > > On Fri, 19 Oct 2012 10:46:36 +0200, Jiri Olsa wrote: > > On Fri, Oct 19, 2012 at 10:27:35AM +0200, Stephane Eranian wrote: > >> Jiri, > >> > >> When I run perf list, I see: > >> > >> $ perf list > >> .. > >> rNNN

Re: [BUG] perf list: --help option not implemented

2012-10-22 Thread Namhyung Kim
Hi, On Fri, 19 Oct 2012 10:46:36 +0200, Jiri Olsa wrote: > On Fri, Oct 19, 2012 at 10:27:35AM +0200, Stephane Eranian wrote: >> Jiri, >> >> When I run perf list, I see: >> >> $ perf list >> .. >> rNNN [Raw hardware >> event descriptor] >> cpu/t

Re: [BUG] perf list: --help option not implemented

2012-10-19 Thread Jiri Olsa
On Fri, Oct 19, 2012 at 10:27:35AM +0200, Stephane Eranian wrote: > Jiri, > > When I run perf list, I see: > > $ perf list > .. > rNNN [Raw hardware > event descriptor] > cpu/t1=v1[,t2=v2,t3 ...]/modifier [Raw hardware > event d

[BUG] perf list: --help option not implemented

2012-10-19 Thread Stephane Eranian
Jiri, When I run perf list, I see: $ perf list .. 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) But: $ perf list --help $