diff options
author | Changbin Du <[email protected]> | 2019-03-16 16:05:41 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-03-19 16:52:04 -0300 |
commit | af7a14a750b8eb3cdb26ec15344616ca170b06f2 (patch) | |
tree | 6b33dcf97aec69058cfde17a8b60cda666f7cd9a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c3b4d5c4afb0856e62a60db04c71205712b0d24f (diff) |
perf tools: Add doc about how to build perf with Asan and UBSan
AddressSanitizer (or ASan) and UndefinedBehaviorSanitizer (or UBSan) are
very useful tools to detect program bugs:
- AddressSanitizer (or ASan) is a GCC feature that detects memory
corruption bugs such as buffer overflows and memory leaks.
- UndefinedBehaviorSanitizer (or UBSan) is a fast undefined behavior
detector supported by GCC. UBSan detects undefined behaviors of programs
at runtime.
This patch adds a document about how to use them on perf. Later patches will fix
some of the issues disclosed by them.
Signed-off-by: Changbin Du <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt (VMware) <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Make some changes based on comments made by Jiri Olsa ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions