Re: [PATCH] perf report: auto-detect branch stack sampling mode

From: Stephane Eranian
Date: Mon Mar 05 2012 - 10:52:36 EST


On Mon, Mar 5, 2012 at 4:47 PM, Ingo Molnar <mingo@xxxxxxx> wrote:
>
>
> 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:
>
Fair enough. I can add code Âto handle this case.

>
> Â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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/