summaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/lib/perf_has_symbol.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/shell/lib/perf_has_symbol.sh')
-rw-r--r--tools/perf/tests/shell/lib/perf_has_symbol.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/shell/lib/perf_has_symbol.sh b/tools/perf/tests/shell/lib/perf_has_symbol.sh
index 5d59c32ae3e7..561c93b75d77 100644
--- a/tools/perf/tests/shell/lib/perf_has_symbol.sh
+++ b/tools/perf/tests/shell/lib/perf_has_symbol.sh
@@ -3,7 +3,7 @@
perf_has_symbol()
{
- if perf test -vv "Symbols" 2>&1 | grep "[[:space:]]$1$"; then
+ if perf test -vv -F "Symbols" 2>&1 | grep "[[:space:]]$1$"; then
echo "perf does have symbol '$1'"
return 0
fi