aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorBrian Johannesmeyer <[email protected]>2024-05-28 12:48:07 +0200
committerAndrew Morton <[email protected]>2024-07-03 19:30:02 -0700
commit7005e7ec28855f3aa8355c39a7786d859ec92888 (patch)
treef4adf2173d247a1205296031c978c8d047408e03 /tools/perf/scripts/python/event_analyzing_sample.py
parentf56810c94ca828ab5c223a3528cc44c823cace16 (diff)
kmsan: introduce test_unpoison_memory()
Add a regression test to ensure that kmsan_unpoison_memory() works the same as an unpoisoning operation added by the instrumentation. The test has two subtests: one that checks the instrumentation, and one that checks kmsan_unpoison_memory(). Each subtest initializes the first byte of a 4-byte buffer, then checks that the other 3 bytes are uninitialized. [[email protected]: change description, remove comment about failing test case] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Brian Johannesmeyer <[email protected]> Link: https://lore.kernel.org/lkml/[email protected]/T/ Signed-off-by: Alexander Potapenko <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: Kees Cook <[email protected]> Cc: Marco Elver <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions