Re: [PATCH] selftests/ftrace: Always enable ftrace_enabled for ftrace testcases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
>
>  1) Is it necessary to run all testcases if ftrace_enable is off?
>  2) 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








[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux