You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/perf/tests/shell/lib/probe_vfs_getname.sh
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,18 @@ add_probe_vfs_getname() {
39
39
}
40
40
41
41
skip_if_no_debuginfo() {
42
-
add_probe_vfs_getname -v 2>&1| grep -E -q "^(Failed to find the path for the kernel|Debuginfo-analysis is not supported)|(file has no debug information)"&&return 2
42
+
no_line_check=$1
43
+
debug_str="^(Failed to find the path for the kernel|Debuginfo-analysis is not supported)|(file has no debug information)"
44
+
45
+
# search for debug_str using simple perf probe if the
46
+
# test only needs to check for debuginfo, and not specifically
0 commit comments