perf tests shell: Remove duplicate skip_if_no_debuginfo() function
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 14 Aug 2017 16:53:10 +0000 (13:53 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Aug 2017 13:54:25 +0000 (10:54 -0300)
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>
tools/perf/tests/shell/lib/probe_vfs_getname.sh

index 42308040f8827aa4d7e8fedc4fc63e67da3828f8..3eaddf190a302a37e488bceb7ce358a025bfb089 100644 (file)
@@ -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
        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
-}