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

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

 



On Fri, 3 Apr 2020 23:01:41 +0800
Xiao Yang <yangx.jy@xxxxxxxxxxxxxx> 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?

> 
> 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!

-- Steve



[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