mbox series

[0/3] libtracefs utest: Fixes and new tests

Message ID 20241017200609.932728-1-rostedt@goodmis.org (mailing list archive)
Headers show
Series libtracefs utest: Fixes and new tests | expand

Message

Steven Rostedt Oct. 17, 2024, 8:03 p.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

- Add a test to test traceefs_dynevent_get_all() more thoroughly

- Fix the min percent testing in case of large sub-buffers

- Do not test more events than can be held in the ring buffer.

Steven Rostedt (Google) (3):
  libtracefs utest: Add test to check handling multiple dynamic events
  libtracefs utest: Fix min percent test
  libtracefs utest: Do not test more events than what the ring buffer
    can hold

 utest/tracefs-utest.c | 184 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 183 insertions(+), 1 deletion(-)