APPLIED[G/H]: [SRU][G][H][I][UNSTABLE][PATCH 0/1] selftests/ftrace: fix event-no-pid on 1-core machine
Kleber Souza
kleber.souza at canonical.com
Thu Jul 15 15:38:09 UTC 2021
On 05.07.21 17:47, Krzysztof Kozlowski wrote:
> BugLink: https://bugs.launchpad.net/bugs/1927749
>
> SRU Justification:
>
> [Impact]
>
> * Kernel selftests ftrace test fails on small machines which makes it
> difficult/impossible to spot real ftrace failure.
> * Only 1-core CPUs are affected.
> * When running event-no-pid test on small machines (e.g. cloud 1-core
> instance), other events might not happen.
>
> [Fix]
>
> * Schedule a simple sleep task to be sure that some other process events
> get recorded.
> * Fix accepted in mainline (v5.14-rc1 merge window).
>
> [Test Plan]
>
> * Run ftrace test from kernel selftests.
>
> [Where problems could occur]
>
> * Only kernel selftests should be affected.
> * ftrace test can have false positives or negatives.
>
> Best regards,
> Krzysztof
>
>
> Krzysztof Kozlowski (1):
> selftests/ftrace: fix event-no-pid on 1-core machine
>
> .../testing/selftests/ftrace/test.d/event/event-no-pid.tc | 7 +++++++
> 1 file changed, 7 insertions(+)
>
Applied to groovy:linux and hirsute:linux.
Thanks,
Kleber
More information about the kernel-team
mailing list