selftests/ftrace: Check set_event_pid result

Ensure the set_event_pid shows set pid list.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
This commit is contained in:
Masami Hiramatsu 2018-08-30 23:19:31 +09:00 committed by Shuah Khan (Samsung OSG)
parent 00b2f2bc3a
commit ddbc31e63a
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ do_reset
read mypid rest < /proc/self/stat
echo $mypid > set_event_pid
grep -q $mypid set_event_pid
echo 'sched:sched_switch' > set_event
yield