aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMichael Vetter <[email protected]>2024-10-17 22:01:31 +0200
committerPetr Mladek <[email protected]>2024-10-22 17:13:11 +0200
commit59766286b6e54f8ad334dcef7d2e743b7550df0e (patch)
treeeb98479ec72253fc8d7890e214c969abdd5ed47a /tools/perf/scripts/python/task-analyzer.py
parent637c730998b8f440dc5d0c6bae254fbf19143ea4 (diff)
selftests: livepatch: save and restore kprobe state
Save the state of /sys/kernel/debug/kprobes/enabled during setup_config() and restore it during cleanup(). This is in preparation for a future commit that will add a test that should confirm that we cannot livepatch a kprobed function if that kprobe has a post handler. Signed-off-by: Michael Vetter <[email protected]> Reviewed-by: Miroslav Benes <[email protected]> Reviewed-by: Joe Lawrence <[email protected]> Tested-by: Marcos Paulo de Souza <[email protected]> Reviewed-by: Marcos Paulo de Souza <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Tested-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected] [[email protected]: Added few more substitutions in test-syscall.sh] Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions