Skip to contentSkip to conversation

perf tests shell: Remove duplicate skip_if_no_debuginfo() function

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Aug 17, 2017 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  06786963020cc42c50f2c95d1ca5cb839460fa0e
Gitweb:     http://git.kernel.org/tip/06786963020cc42c50f2c95d1ca5cb839460fa0e
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Mon, 14 Aug 2017 13:53:10 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 15 Aug 2017 10:54:25 -0300

perf tests shell: Remove duplicate skip_if_no_debuginfo() function

---
 tools/perf/tests/shell/lib/probe_vfs_getname.sh | 5 -----
 1 file changed, 5 deletions(-)
tools/perf/tests/shell/lib/probe_vfs_getname.sh +0 -5
index 4230804..3eaddf1 100644
@@ -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
-}