diff options
| author | Nick Desaulniers <[email protected]> | 2021-06-21 23:18:20 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2021-06-22 18:00:30 +0000 |
| commit | 380d53c45ff21f66870ee965b62613137f9d010d (patch) | |
| tree | 9d3a86f6f868101c984b92c5903c60f626e284c2 /drivers/net/wwan/iosm/iosm_ipc_protocol.c | |
| parent | x86, lto: Enable Clang LTO for 32-bit as well (diff) | |
| download | kernel-380d53c45ff21f66870ee965b62613137f9d010d.tar.gz kernel-380d53c45ff21f66870ee965b62613137f9d010d.zip | |
compiler_attributes.h: define __no_profile, add to noinstr
noinstr implies that we would like the compiler to avoid instrumenting a
function. Add support for the compiler attribute
no_profile_instrument_function to compiler_attributes.h, then add
__no_profile to the definition of noinstr.
Link: https://lore.kernel.org/lkml/[email protected]/
Link: https://reviews.llvm.org/D104257
Link: https://reviews.llvm.org/D104475
Link: https://reviews.llvm.org/D104658
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80223
Reviewed-by: Fangrui Song <[email protected]>
Reviewed-by: Miguel Ojeda <[email protected]>
Suggested-by: Peter Zijlstra <[email protected]>
Signed-off-by: Nick Desaulniers <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol.c')
0 files changed, 0 insertions, 0 deletions
