diff options
| author | Alexander Potapenko <[email protected]> | 2024-03-20 11:18:50 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-25 21:07:02 -0700 |
| commit | 922621a6828430ea3119b869336157d253489334 (patch) | |
| tree | 02a478c708f886648d58b53dc5f6f82b7fe5d4fb /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3429055f0451cd3a281f8ed6691335ead626b136 (diff) | |
instrumented.h: add instrument_memcpy_before, instrument_memcpy_after
Bug detection tools based on compiler instrumentation may miss memory
accesses in custom memcpy implementations (such as copy_mc_to_kernel).
Provide instrumentation hooks that tell KASAN, KCSAN, and KMSAN about such
accesses.
Link: https://lore.kernel.org/all/[email protected]/
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Alexander Potapenko <[email protected]>
Reviewed-by: Marco Elver <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Tetsuo Handa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions