[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120305154753.GA14604@elte.hu>
Date: Mon, 5 Mar 2012 16:47:53 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Stephane Eranian <eranian@...gle.com>
Cc: linux-kernel@...r.kernel.org, acme@...hat.com,
peterz@...radead.org, dsahern@...il.com, ravitillo@....gov,
khandual@...ux.vnet.ibm.com, asharma@...com,
robert.richter@....com, ming.m.lin@...el.com,
vweaver1@...s.utk.edu, andi@...stfloor.org,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: [PATCH] perf report: auto-detect branch stack sampling mode
Another usability bug of the new branch sampling feature is that
typing the obvious:
$ perf record -b ./myprog
does not do the obvious thing and default to 'any' but throws a
*very* unhelpful generic perf error:
usage: perf record [<options>] [<command>]
or: perf record [<options>] -- <command> [<options>]
...
Really, we should do better than this. Only people who *want* to
specify finer LBR filters should be forced to specify them.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists