Re: [PATCH] binfmt_elf: Introduce KUnit test

From: Steven Rostedt
Date: Tue Mar 01 2022 - 10:07:00 EST


On Mon, 28 Feb 2022 22:42:51 -0800
Daniel Latypov <dlatypov@xxxxxxxxxx> wrote:

> But it'd definitely be interesting to try and get klp_arch_set_pc()
> working on UML if that's a possibility!
> Speaking from ignorance, I can see this either being somewhat simple

Looking at UML, it doesn't even look like it has ftrace support. So that
would be required to do it for that arch.

For UML, I'm not sure its worth it. I don't use UML but maybe others would
want ftrace for it? As UML runs in userspace, the motivation for things like
ftrace is not as high as you have gdb to walk through everything.

That said, I'm sure it would be a fun exercise for anyone to port ftrace to
UML :-)

-- Steve