Message ID | 20250324-ftrace-sftest-livepatch-v3-0-d9d7cc386c75@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | selftests: livepatch: test if ftrace can trace a livepatched function | expand |
On Mon, Mar 24, 2025 at 07:50:17PM -0300, Filipe Xavier wrote: > This patchset add ftrace helpers functions and > add a new test makes sure that ftrace can trace > a function that was introduced by a livepatch. > > Signed-off-by: Filipe Xavier <felipeaggger@gmail.com> > Suggested-by: Marcos Paulo de Souza <mpdesouza@suse.com> > Reviewed-by: Marcos Paulo de Souza <mpdesouza@suse.com> > Acked-by: Miroslav Benes <mbenes@suse.cz> > --- > Changes in v3: > - functions.sh: fixed sed to remove warning from shellcheck and add grep -Fw params. Oh, now I see what shellcheck was complaining about. I missed that there was no '\' line continuation char at the end of the sed line. I thought it was complaining about starting the subsequent lines with the '|' and '>' redirection chars. Good eye on catching that :) > - test-ftrace.sh: change constant to use common SYSFS_KLP_DIR. > - Link to v2: https://lore.kernel.org/r/20250318-ftrace-sftest-livepatch-v2-0-60cb0aa95cca@gmail.com > For both patches: Acked-by: Joe Lawrence <joe.lawrence@redhat.com> Thanks, -- Joe
On Mon 2025-03-24 19:50:17, Filipe Xavier wrote: > This patchset add ftrace helpers functions and > add a new test makes sure that ftrace can trace > a function that was introduced by a livepatch. > > Signed-off-by: Filipe Xavier <felipeaggger@gmail.com> > Acked-by: Miroslav Benes <mbenes@suse.cz> For both patches: Reviewed-by: Petr Mladek <pmladek@suse.com> Tested-by: Petr Mladek <pmladek@suse.com> Best Regards, Petr
On Mon 2025-03-24 19:50:17, Filipe Xavier wrote: > This patchset add ftrace helpers functions and > add a new test makes sure that ftrace can trace > a function that was introduced by a livepatch. > > Signed-off-by: Filipe Xavier <felipeaggger@gmail.com> > Acked-by: Miroslav Benes <mbenes@suse.cz> JFYI, the patchset has been committed into livepatching.git, branch for-6.15/ftrace-test. I had a dilemma whether to push it for 6.15 or postpone it. But it is a selftest and quite trivial. And it has been reviewed by several people. And it seems to work well so I think that we could push it for 6.15. Best Regards, Petr
On 3/25/25 11:01 AM, Petr Mladek wrote: > On Mon 2025-03-24 19:50:17, Filipe Xavier wrote: >> This patchset add ftrace helpers functions and >> add a new test makes sure that ftrace can trace >> a function that was introduced by a livepatch. >> >> Signed-off-by: Filipe Xavier <felipeaggger@gmail.com> >> Acked-by: Miroslav Benes <mbenes@suse.cz> > JFYI, the patchset has been committed into livepatching.git, > branch for-6.15/ftrace-test. > > I had a dilemma whether to push it for 6.15 or postpone it. > But it is a selftest and quite trivial. And it has been > reviewed by several people. And it seems to work well > so I think that we could push it for 6.15. It sounds good to me, thank you all very much for the support. Cheers, Filipe > Best Regards, > Petr