selftests/ftrace: event_triggers: wait longer for test_event_enable
authorYipeng Zou <zouyipeng@huawei.com>
Fri, 4 Nov 2022 02:09:31 +0000 (10:09 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 14 Nov 2022 18:29:02 +0000 (11:29 -0700)
commita1d6cd88c8973cfb08ee85722488b1d6d5d16327
tree3b3f59631c9e0cbcc7269eef38119aba4a9ce5df
parentd942f231afc037490538cea67bb0c667e6d12214
selftests/ftrace: event_triggers: wait longer for test_event_enable

In some platform, the schedule event may came slowly, delay 100ms can't
cover it.

I was notice that on my board which running in low cpu_freq,and this
selftests allways gose fail.

So maybe we can check more times here to wait longer.

Fixes: 43bb45da82f9 ("selftests: ftrace: Add a selftest to test event enable/disable func trigger")
Signed-off-by: Yipeng Zou <zouyipeng@huawei.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/ftrace/test.d/ftrace/func_event_triggers.tc