summaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/lib/probe_vfs_getname.sh
diff options
context:
space:
mode:
authorJames Clark <james.clark@arm.com>2021-08-25 17:42:59 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-08-30 10:06:43 -0300
commita05b42702d69776db27aee81dca965c02c42e13f (patch)
tree894a13297205c0135b3c55fa56f41db117473608 /tools/perf/tests/shell/lib/probe_vfs_getname.sh
parentedf7b4a2d85e37a1ee77156bddaed4aa6af9c5e1 (diff)
perf tests: Fix *probe_vfs_getname.sh test failures
The commit 4d6101f5fd5d9960 ("perf probe: Clarify error message about not finding kernel modules debuginfo") changed the error message "Failed to find the path for kernel" to "Failed to find the path for the kernel". Update the regex so that the tests still skip rather than fail when kernel debug symbols aren't present. Signed-off-by: James Clark <james.clark@arm.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Link: http://lore.kernel.org/lkml/20210825164259.833222-1-james.clark@arm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/shell/lib/probe_vfs_getname.sh')
-rw-r--r--tools/perf/tests/shell/lib/probe_vfs_getname.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/shell/lib/probe_vfs_getname.sh b/tools/perf/tests/shell/lib/probe_vfs_getname.sh
index c2cc42daf924..5b17d916c555 100644
--- a/tools/perf/tests/shell/lib/probe_vfs_getname.sh
+++ b/tools/perf/tests/shell/lib/probe_vfs_getname.sh
@@ -19,6 +19,6 @@ add_probe_vfs_getname() {
}
skip_if_no_debuginfo() {
- add_probe_vfs_getname -v 2>&1 | egrep -q "^(Failed to find the path for kernel|Debuginfo-analysis is not supported)" && return 2
+ add_probe_vfs_getname -v 2>&1 | egrep -q "^(Failed to find the path for the kernel|Debuginfo-analysis is not supported)" && return 2
return 1
}