APPLIED: [J][SRU][PATCH 0/1] selftests/ftrace: Stop tracing while reading the trace file by default
Stefan Bader
stefan.bader at canonical.com
Fri Dec 1 10:09:36 UTC 2023
On 24.11.23 10:16, Po-Hsu Lin wrote:
> BugLink: https://bugs.launchpad.net/bugs/2029405
>
> [Impact]
> On ARM64 systems, tests like subsystem-enable.tc, event-enable.tc,
> event-pid.tc in linux/tools/testing/selftests/ftrace will take too
> much time to run and consequently leads to test timeout.
>
> The culprit is the `cat` command on the changing trace file.
>
> [Fix]
> * 25b9513872 selftests/ftrace: Stop tracing while reading the trace
> file by default
>
> This patch can be cherry-picked into Jammy. I didn't see this issue in
> our 5.4 kernels. And it's already landed in newer kernels.
>
> [Test]
> On an ARM64 testing node, apply this patch to the kernel tree and run
> event-pid.tc test in linux/tools/testing/selftests/ftrace with:
>
> sudo ./ftracetest -vvv test.d/event/event-pid.tc
>
> The test should finish within a few minutes.
>
> [Regression Potential]
> Change limited to testing tools, it should not have any actual impact
> to kernel functions.
>
>
> Masami Hiramatsu (1):
> selftests/ftrace: Stop tracing while reading the trace file by default
>
> tools/testing/selftests/ftrace/ftracetest | 2 +-
> tools/testing/selftests/ftrace/test.d/functions | 12 ++++++++++++
> 2 files changed, 13 insertions(+), 1 deletion(-)
>
Applied to jammy:linux/master-next. Thanks.
-Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 44613 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20231201/91e596c7/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20231201/91e596c7/attachment-0001.sig>
More information about the kernel-team
mailing list