[PATCH 0/1][H] Fix ftrace synthetic_events selftests failure in 5.11

Andrea Righi andrea.righi at canonical.com
Thu Apr 22 16:57:07 UTC 2021


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

[Impact]

The synthetic_events ftrace test is failing in 5.11:

 01:58:54 DEBUG| [stdout] # [68] event trigger - test synthetic_events syntax parser errors [FAIL]

This happens because the synthetic_event parser/syntax has been reworked
in 5.12 and the selftest has been also updated. However, in 5.11 we got
only the commit that updates the test without the corresponding rework
in the kernel, therefore the test is failing.

[Fix]

Revert the commit that updates the ftrace synthetic_events selftest.

[Test plan]

Run the linux ftrace selftest to trigger the problem (e.g., make
TARGETS=ftrace kselftests).

[Where problems could occur]

This fix reverts a test case, if the kernel receives the ftrace rework
via stable updates in the future we may see failures with the same test.

---

Andrea Righi (1):
      UBUNTU: SAUCE: Revert "selftests/ftrace: Update synthetic event syntax errors"

 tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic_event_syntax_errors.tc | 35 ++++++++---------------------------
 1 file changed, 8 insertions(+), 27 deletions(-)




More information about the kernel-team mailing list