On 2020/4/3 23:15, Steven Rostedt wrote:
Why would it be disabled by default? Anyway, I'm thinking failure is the
right answer if ftrace_enable is off.
Sorry, it seems better to say that ftrace_enabled is disabled by user.
But then why would you run the tests after disabling it?
Hi Steven,
I disabled it accidentally.
I got 75 pass and 19 failure if ftrace_enable is off. Just have some questions:
- Is it necessary to run all testcases if ftrace_enable is off?
- Is is expected to get pass if ftrace_enable is off? (I can understand that failure is expected if ftrace_enable is off)
Because its a way to test the tests!
I think that all tests depend on ftrace_enabled and running them should report "not supported" or enable it automatically when it is disabled.
Thanks, Xiao Yang