mirror_ubuntu-kernels/tools/testing/selftests/ftrace/test.d
Krzysztof Kozlowski 1c49a134c9 selftests/ftrace: Do not trace do_softirq because of PREEMPT_RT
BugLink: https://bugs.launchpad.net/bugs/1959610

The PREEMPT_RT patchset does not use do_softirq() function thus trying
to filter for do_softirq fails for such kernel:

  echo do_softirq
  ftracetest: 81: echo: echo: I/O error

Choose some other visible function for the test.  The function does not
have to be actually executed during the test, because it is only testing
filter API interface.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
(cherry picked from commit 6fec1ab67f linux-next)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Joseph Salisbury <joseph.salisbury@canonical.com>
2022-02-23 09:17:44 +01:00
..
00basic selftests/ftrace: Convert required interface checks into requires list 2020-06-16 10:39:20 -06:00
direct selftests/ftrace: Convert required interface checks into requires list 2020-06-16 10:39:20 -06:00
dynevent selftests/ftrace: Update test for more eprobe removal process 2021-10-13 19:27:53 -04:00
event selftests/ftrace: fix event-no-pid on 1-core machine 2021-06-23 18:29:26 -06:00
ftrace selftests/ftrace: Do not trace do_softirq because of PREEMPT_RT 2022-02-23 09:17:44 +01:00
instances selftests/ftrace: Convert required interface checks into requires list 2020-06-16 10:39:20 -06:00
kprobe selftests/ftrace: make kprobe profile testcase description unique 2022-01-28 11:02:33 +01:00
preemptirq selftests/ftrace: Support ":tracer" suffix for requires 2020-06-16 10:42:10 -06:00
selftest selftests/ftrace: Add checkbashisms meta-testcase 2019-05-24 13:38:29 -06:00
tracer selftests/ftrace: Support ":tracer" suffix for requires 2020-06-16 10:42:10 -06:00
trigger UBUNTU: SAUCE: selftests/ftrace: Fix tab expansion in trace_marker snapshot trigger test 2021-11-02 08:24:44 +01:00
functions selftests/ftrace: Fix requirement check of README file 2021-08-21 10:25:00 -04:00
template selftests/ftrace: Support ":README" suffix for requires 2020-06-16 10:42:47 -06:00