lkml.org 
[lkml]   [2021]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 00/24] objtool/x86: noinstr vs PARAVIRT
    On Thu, 24 Jun 2021 11:40:59 +0200
    Peter Zijlstra <peterz@infradead.org> wrote:

    > Steve, can I please delete TRACE_BRANCH_PROFILING and PROFILE_ALL_BRANCHES already?

    The TRACE_BRANCH_PROFILING, I never used, so I'm happy to delete it,
    but I still use the PROFILE_ALL_BRANCHES.

    But I'm curious, what's the issue with the PROFILE_ALL_BRANCHES?

    You can make it ignore files, by simply adding a:

    #define DISABLE_BRANCH_PROFILING

    at the top of the file (before any of the includes).

    So if your issue is that it makes it hard for some code, simply add
    that to the top of the file, and it should just work.

    -- Steve

    \
     
     \ /
      Last update: 2021-06-24 15:05    [W:2.709 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site