diff options
| author | Michael Ellerman <[email protected]> | 2020-05-08 06:53:55 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2020-05-08 15:45:50 +0000 |
| commit | f131d9edc29d527df4b8f6840c340415f559f095 (patch) | |
| tree | 81af23ff6a76922921dfab631fb9573b16107386 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | selftests/ftrace: mark irqsoff_tracer.tc test as unresolved if the test modul... (diff) | |
| download | kernel-f131d9edc29d527df4b8f6840c340415f559f095.tar.gz kernel-f131d9edc29d527df4b8f6840c340415f559f095.zip | |
selftests/lkdtm: Don't clear dmesg when running tests
It is Very Rude to clear dmesg in test scripts. That's because the
script may be part of a larger test run, and clearing dmesg
potentially destroys the output of other tests.
We can avoid using dmesg -c by saving the content of dmesg before the
test, and then using diff to compare that to the dmesg afterward,
producing a log with just the added lines.
Signed-off-by: Michael Ellerman <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
