summaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/test_task_analyzer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/shell/test_task_analyzer.sh')
-rwxr-xr-xtools/perf/tests/shell/test_task_analyzer.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/tests/shell/test_task_analyzer.sh b/tools/perf/tests/shell/test_task_analyzer.sh
index 92d15154ba79..cb02bf23e6a5 100755
--- a/tools/perf/tests/shell/test_task_analyzer.sh
+++ b/tools/perf/tests/shell/test_task_analyzer.sh
@@ -11,6 +11,9 @@ if [ -e "$perfdir/scripts/python/Perf-Trace-Util" ]; then
export PERF_EXEC_PATH=$perfdir
fi
+# Disable lsan to avoid warnings about python memory leaks.
+export ASAN_OPTIONS=detect_leaks=0
+
cleanup() {
rm -f perf.data
rm -f perf.data.old