aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-report
diff options
context:
space:
mode:
authorAlexander Potapenko <[email protected]>2023-09-11 16:57:00 +0200
committerAndrew Morton <[email protected]>2023-10-04 10:32:22 -0700
commit0be7b2c232cfb1621660c78b0fd7260361c75e27 (patch)
tree22ab2cba4a295674bab7b06b1b2b0782a82dfa3d /tools/perf/scripts/python/bin/task-analyzer-report
parentbe1ab60eb04f27e559d8be9655beb04d2bc90b25 (diff)
kmsan: prevent optimizations in memcpy tests
Clang 18 learned to optimize away memcpy() calls of small uninitialized scalar values. To ensure that memcpy tests in kmsan_test.c still perform calls to memcpy() (which KMSAN replaces with __msan_memcpy()), declare a separate memcpy_noinline() function with volatile parameters, which won't be optimized. Also retire DO_NOT_OPTIMIZE(), as memcpy_noinline() is apparently enough. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Alexander Potapenko <[email protected]> Acked-by: Marco Elver <[email protected]> Cc: Dmitry Vyukov <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions