Re: [PATCH v5 3/3] selftests: livepatch: test livepatching a kprobed function

2024-10-22 Thread Miroslav Benes
On Thu, 17 Oct 2024, Michael Vetter wrote: > The test proves that a function that is being kprobed and uses a > post_handler cannot be livepatched. > > Only one ftrace_ops with FTRACE_OPS_FL_IPMODIFY set may be registered > to any given function at a time. > > Note that the conflicting kprobe co

[PATCH v5 3/3] selftests: livepatch: test livepatching a kprobed function

2024-10-17 Thread Michael Vetter
The test proves that a function that is being kprobed and uses a post_handler cannot be livepatched. Only one ftrace_ops with FTRACE_OPS_FL_IPMODIFY set may be registered to any given function at a time. Note that the conflicting kprobe could not be created using the tracefs interface, see Docume