lkml.org 
[lkml]   [2021]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v9] pgo: add clang's Profile Guided Optimization infrastructure
    On Sat, Jun 12, 2021 at 1:56 PM Bill Wendling <morbo@google.com> wrote:
    > On Sat, Jun 12, 2021 at 1:25 PM Peter Zijlstra <peterz@infradead.org> wrote:
    > > On Sat, Jun 12, 2021 at 12:10:03PM -0700, Bill Wendling wrote:
    > > Yes it is, but is that sufficient in this case? It very much isn't for
    > > KASAN, UBSAN, and a whole host of other instrumentation crud. They all
    > > needed their own 'bugger-off' attributes.
    > >
    > Now, for the "nointr" issue. I'll see if we need an additional change for that.
    >
    The GCOV implementation disables profiling in those directories where
    instrumentation would fail. We do the same. Both clang and gcc seem to
    treat the no_instrument_function attribute similarly.

    -bw

    \
     
     \ /
      Last update: 2021-06-13 00:50    [W:4.290 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site