* [PATCH v3] selftests/ftrace: fix glob selftest
@ 2020-01-08 7:40 Sven Schnelle
2020-01-08 14:11 ` Steven Rostedt
0 siblings, 1 reply; 5+ messages in thread
From: Sven Schnelle @ 2020-01-08 7:40 UTC (permalink / raw)
To: Steven Rostedt; +Cc: LKML, Sven Schnelle
test.d/ftrace/func-filter-glob.tc 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.
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
---
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/func-filter-glob.tc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc b/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc
index 27a54a17da65..f4e92afab14b 100644
--- a/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc
+++ b/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc
@@ -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.*'
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v3] selftests/ftrace: fix glob selftest
2020-01-08 7:40 [PATCH v3] selftests/ftrace: fix glob selftest Sven Schnelle
@ 2020-01-08 14:11 ` Steven Rostedt
2020-01-27 13:22 ` Sven Schnelle
0 siblings, 1 reply; 5+ messages in thread
From: Steven Rostedt @ 2020-01-08 14:11 UTC (permalink / raw)
To: Shuah Khan; +Cc: Sven Schnelle, LKML
Shuah,
Want to take this through your tree?
https://lore.kernel.org/r/20200108074043.21580-1-svens@linux.ibm.com
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Thanks!
-- Steve
On Wed, 8 Jan 2020 08:40:43 +0100
Sven Schnelle <svens@linux.ibm.com> wrote:
> test.d/ftrace/func-filter-glob.tc 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.
>
> Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
> ---
>
> 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/func-filter-glob.tc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc b/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc
> index 27a54a17da65..f4e92afab14b 100644
> --- a/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc
> +++ b/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc
> @@ -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] 5+ messages in thread
* Re: [PATCH v3] selftests/ftrace: fix glob selftest
2020-01-08 14:11 ` Steven Rostedt
@ 2020-01-27 13:22 ` Sven Schnelle
2020-01-27 14:49 ` Shuah Khan
0 siblings, 1 reply; 5+ messages in thread
From: Sven Schnelle @ 2020-01-27 13:22 UTC (permalink / raw)
To: Steven Rostedt; +Cc: Shuah Khan, LKML
Hi Steve,
On Wed, Jan 08, 2020 at 09:11:55AM -0500, Steven Rostedt wrote:
>
> Shuah,
>
> Want to take this through your tree?
>
> https://lore.kernel.org/r/20200108074043.21580-1-svens@linux.ibm.com
>
> Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
As Shuah didn't reply, can you push that through your tree?
Thanks!
Sven
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3] selftests/ftrace: fix glob selftest
2020-01-27 13:22 ` Sven Schnelle
@ 2020-01-27 14:49 ` Shuah Khan
2020-01-28 8:31 ` Sven Schnelle
0 siblings, 1 reply; 5+ messages in thread
From: Shuah Khan @ 2020-01-27 14:49 UTC (permalink / raw)
To: Sven Schnelle, shuah, linux-kselftest; +Cc: Steven Rostedt, LKML
On Mon, Jan 27, 2020 at 6:23 AM Sven Schnelle <svens@linux.ibm.com> wrote:
>
> Hi Steve,
>
> On Wed, Jan 08, 2020 at 09:11:55AM -0500, Steven Rostedt wrote:
> >
> > Shuah,
> >
> > Want to take this through your tree?
> >
> > https://lore.kernel.org/r/20200108074043.21580-1-svens@linux.ibm.com
> >
> > Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
>
> As Shuah didn't reply, can you push that through your tree?
>
Hi Sven,
Did you run getmaintainers of this patch? You didn't send this to my
email address listed in the get maintainers file and also didn't cc
linux-kselftest.
I just happen to notice this now. Please resend with steve's
Reviewed-by tag to the recipients suggested by get_maintainers.pl
I will take this through ksleftest tree.
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3] selftests/ftrace: fix glob selftest
2020-01-27 14:49 ` Shuah Khan
@ 2020-01-28 8:31 ` Sven Schnelle
0 siblings, 0 replies; 5+ messages in thread
From: Sven Schnelle @ 2020-01-28 8:31 UTC (permalink / raw)
To: Shuah Khan; +Cc: shuah, linux-kselftest, Steven Rostedt, LKML
Hi Shuah,
On Mon, Jan 27, 2020 at 07:49:17AM -0700, Shuah Khan wrote:
> On Mon, Jan 27, 2020 at 6:23 AM Sven Schnelle <svens@linux.ibm.com> wrote:
> >
> > Hi Steve,
> >
> > On Wed, Jan 08, 2020 at 09:11:55AM -0500, Steven Rostedt wrote:
> > >
> > > Shuah,
> > >
> > > Want to take this through your tree?
> > >
> > > https://lore.kernel.org/r/20200108074043.21580-1-svens@linux.ibm.com
> > >
> > > Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
> >
> > As Shuah didn't reply, can you push that through your tree?
> >
>
> Hi Sven,
>
> Did you run getmaintainers of this patch? You didn't send this to my
> email address listed in the get maintainers file and also didn't cc
> linux-kselftest.
My fault, sorry.
> I just happen to notice this now. Please resend with steve's
> Reviewed-by tag to the recipients suggested by get_maintainers.pl
> I will take this through ksleftest tree.
Ok, thanks.
Regards
Sven
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-01-28 8:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 7:40 [PATCH v3] selftests/ftrace: fix glob selftest Sven Schnelle
2020-01-08 14:11 ` Steven Rostedt
2020-01-27 13:22 ` Sven Schnelle
2020-01-27 14:49 ` Shuah Khan
2020-01-28 8:31 ` Sven Schnelle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.