aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/shell/script.sh')
-rwxr-xr-xtools/perf/tests/shell/script.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/tests/shell/script.sh b/tools/perf/tests/shell/script.sh
index c1a603653662..d3e2958d2242 100755
--- a/tools/perf/tests/shell/script.sh
+++ b/tools/perf/tests/shell/script.sh
@@ -61,7 +61,10 @@ _end_of_file_
esac
perf record $cmd_flags -o "${perfdatafile}" true
+ # Disable lsan to avoid warnings about python memory leaks.
+ export ASAN_OPTIONS=detect_leaks=0
perf script -i "${perfdatafile}" -s "${db_test}"
+ export ASAN_OPTIONS=
echo "DB test [Success]"
}