Messages in this thread | | | Date | Wed, 03 Jul 2019 15:49:59 -0400 | From | Steven Rostedt <> | Subject | [PATCH 0/2] ftrace/selftest: Fix ftracetest for non existant config and files |
| |
Hi Masami,
I worked a bit more on the one issue that Po-Hsu found, and made it use tracefs a bit more aggressively. To test this I ran the test on a 3.5 kernel and found another issue, where it failed because set_event_pid and set_ftrace_pid did not exist.
Can you review these patches. I can take them in my tree, or if Shuah would like, she can take it in hers (after you give a review).
Thanks!
-- Steve
Steven Rostedt (VMware) (2): ftrace/selftests: Return the skip code when tracing directory not configured in kernel ftrace/selftest: Test if set_event/ftrace_pid exists before writing
---- tools/testing/selftests/ftrace/ftracetest | 38 +++++++++++++++++++++---- tools/testing/selftests/ftrace/test.d/functions | 4 +-- 2 files changed, 34 insertions(+), 8 deletions(-)
| |