[SRU][G][H][I][UNSTABLE][PATCH 0/1] selftests/ftrace: fix event-no-pid on 1-core machine

Krzysztof Kozlowski krzysztof.kozlowski at canonical.com
Mon Jul 5 15:47:32 UTC 2021

BugLink: https://bugs.launchpad.net/bugs/1927749

SRU Justification:


* 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.


* 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 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(+)


More information about the kernel-team mailing list