ftrace/selftest: Fix ftracetest for non existant config and files
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ftrace/selftests: Return the skip code when tracing directory not configured in kerneltools/ | +32 | 1 reply | |
| 2/2 | ftrace/selftest: Test if set_event/ftrace_pid exists before writingtools/ | +2 | 6 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Masami Hiramatsu |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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(-)