Re: [LTP] [PATCH] Add ftrace-stress-test to LTP

Li Zefan
2010-08-25T01:20:32Z

Subrata Modak wrote:
> Thanks. I need to test this on a suitable kernel. But doubtful if i can
> add in the default run.
>

Why? Because it costs 90 secs? This is configurable, and some other
test suites like cpuctl cost more time.

If a test suite is not run by default, I guess people won't know its
existence, probably.

> Regards--
> Subrata
>
> On Tue, 2010-08-24 at 12:06 +0800, Li Zefan wrote:
>> We test ftrace by forking processes to simultaneously and
>> constantly read/write different tracing files in debugfs
>> and procfs.
>>
>> The test will be skipped if the kernel is older than 2.6.34,
>> mainly because it can crash old kernels.
>>
>> The test will run by default and will run for 90 seconds.
>>
>> To run this test only:
>>
>> # ./runltp -f tracing
>>
>> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>