aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2021-08-19 11:26:07 -0400
committerSteven Rostedt (VMware) <[email protected]>2021-08-20 14:19:27 -0400
commitaaac2820a36707a8f44adbd2774c623b4e21031c (patch)
treee17c7a4241246633207aed1fa8702801c6b5eb56 /scripts/gdb/linux/lists.py
parent7491e2c442781a1860181adb5ab472a52075f393 (diff)
selftests/ftrace: Add clear_dynamic_events() to test cases
Add a function to remove all dynamic events from the tracing directory. It requires a loop as some of the dynamic events may depend on others being removed first. Also add a safety that prevents it from looping infinitely due to a bug where an event never gets removed. Link: https://lkml.kernel.org/r/[email protected] Cc: "Tzvetomir Stoyanov" <[email protected]> Cc: Tom Zanussi <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Shuah Khan <[email protected]> Cc: [email protected] Acked-by: Masami Hiramatsu <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions