Re: [PATCH] perf report: auto-detect branch stack sampling mode
From: Ingo Molnar
Date: Mon Mar 05 2012 - 10:48:33 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/