Эх сурвалжийг харах

perf tests shell: Remove duplicate skip_if_no_debuginfo() function

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-3zxjswdbs2au3ih0rino0iy1@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Arnaldo Carvalho de Melo 8 жил өмнө
parent
commit
0678696302

+ 0 - 5
tools/perf/tests/shell/lib/probe_vfs_getname.sh

@@ -21,8 +21,3 @@ skip_if_no_debuginfo() {
 	add_probe_vfs_getname -v 2>&1 | grep -q "^Failed to find the path for kernel" && return 2
 	add_probe_vfs_getname -v 2>&1 | grep -q "^Failed to find the path for kernel" && return 2
 	return 1
 	return 1
 }
 }
-
-skip_if_no_debuginfo() {
-	add_probe_vfs_getname -v 2>&1 | grep -q "^Failed to find the path for kernel" && return 2
-	return 1
-}