diff options
author | Mark Rutland <[email protected]> | 2017-03-31 15:12:04 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-03-31 17:13:30 -0700 |
commit | b0845ce58379d11dcad4cdb6824a6410de260216 (patch) | |
tree | f74773a6b97f15de8734c1190f3395375089bf34 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 4742a35d9de745e867405b4311e1aac412f0ace1 (diff) |
kasan: report only the first error by default
Disable kasan after the first report. There are several reasons for
this:
- Single bug quite often has multiple invalid memory accesses causing
storm in the dmesg.
- Write OOB access might corrupt metadata so the next report will print
bogus alloc/free stacktraces.
- Reports after the first easily could be not bugs by itself but just
side effects of the first one.
Given that multiple reports usually only do harm, it makes sense to
disable kasan after the first one. If user wants to see all the
reports, the boot-time parameter kasan_multi_shot must be used.
[[email protected]: wrote changelog and doc, added missing include]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mark Rutland <[email protected]>
Signed-off-by: Andrey Ryabinin <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions