]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: livepatch: test-ftrace: livepatch a traced function
authorMarcos Paulo de Souza <mpdesouza@suse.com>
Fri, 20 Feb 2026 14:12:33 +0000 (11:12 -0300)
committerPetr Mladek <pmladek@suse.com>
Fri, 6 Mar 2026 13:54:28 +0000 (14:54 +0100)
commit920e5001f4beb38685d5b8cac061cb1d2760eeab
tree51aeeb13174fa04eda25ad1d208af31cd968b2ea
parent51ab33fc0a8bef9454849371ef897a1241911b37
selftests: livepatch: test-ftrace: livepatch a traced function

This is basically the inverse case of commit 474eecc882ae
("selftests: livepatch: test if ftrace can trace a livepatched function")
but ensuring that livepatch would work on a traced function.

Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Tested-by: Petr Mladek <pmladek@suse.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Joe Lawrence <joe.lawrence@redhat.com>
Link: https://patch.msgid.link/20260220-lp-test-trace-v1-1-4b6703cd01a6@suse.com
[pmladek: Fixed a typo found by Joe.]
Signed-off-by: Petr Mladek <pmladek@suse.com>
tools/testing/selftests/livepatch/test-ftrace.sh