Linux-kselftest Archive on
 help / color / Atom feed
* [PATCH v4] selftests/ftrace: fix glob selftest
@ 2020-01-28  8:30 Sven Schnelle
  0 siblings, 0 replies; only message in thread
From: Sven Schnelle @ 2020-01-28  8:30 UTC (permalink / raw)
  To: Shuah Khan
  Cc: Steven Rostedt, Ingo Molnar, linux-kselftest, linux-kernel,
	Sven Schnelle

test.d/ftrace/ is failing on s390 because it has
ARCH_INLINE_SPIN_LOCK and friends set to 'y'. So the usual
__raw_spin_lock symbol isn't in the ftrace function list. Change
'*aw*lock' to '*spin*lock' which would hopefully match some of the
locking functions on all platforms.

Reviewed-by: Steven Rostedt (VMware) <>
Signed-off-by: Sven Schnelle <>

Changes in v4:
  - rebase to latest master

Changes in v3:
  change '*spin*lock' to '*pin*lock' to not match the beginning

Changes in v2:
  use '*spin*lock' instead of '*ktime*ns'

 .../testing/selftests/ftrace/test.d/ftrace/  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/ftrace/test.d/ftrace/ b/tools/testing/selftests/ftrace/test.d/ftrace/
index 27a54a17da65..f4e92afab14b 100644
--- a/tools/testing/selftests/ftrace/test.d/ftrace/
+++ b/tools/testing/selftests/ftrace/test.d/ftrace/
@@ -30,7 +30,7 @@ ftrace_filter_check '*schedule*' '^.*schedule.*$'
 ftrace_filter_check 'schedule*' '^schedule.*$'
 # filter by *mid*end
-ftrace_filter_check '*aw*lock' '.*aw.*lock$'
+ftrace_filter_check '*pin*lock' '.*pin.*lock$'
 # filter by start*mid*
 ftrace_filter_check 'mutex*try*' '^mutex.*try.*'

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-28  8:30 [PATCH v4] selftests/ftrace: fix glob selftest Sven Schnelle

Linux-kselftest Archive on

Archives are clonable:
	git clone --mirror linux-kselftest/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-kselftest linux-kselftest/ \
	public-inbox-index linux-kselftest

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone