Re: [PATCH 00/20] objtool: UACCESS validation v3

From: Peter Zijlstra
Date: Thu Mar 07 2019 - 12:38:27 EST


On Thu, Mar 07, 2019 at 11:17:09AM -0600, Josh Poimboeuf wrote:
> On Thu, Mar 07, 2019 at 09:00:49AM -0800, Linus Torvalds wrote:
> > But that macro really is the macro from hell regardless.
> >
> > Do people really use CONFIG_PROFILE_ALL_BRANCHES?
>
> IIRC, Steven runs it once a year or so...

That's TRACE_BRANCH_PROFILING; PROFILE_ALL_BRANCHES I don't know, that
mostly just gets in the way I think.

Also; it seems to me that something PT, or maybe even simply:

perf -e branches -e branch-misses

would get you similar or sufficient information.