Re: [RFC][PATCH] ftrace,objtool: PC32 based __mcount_loc

From: Steven Rostedt
Date: Thu Jun 23 2022 - 20:01:30 EST


On Thu, 23 Jun 2022 15:21:30 +0100
Mark Rutland <mark.rutland@xxxxxxx> wrote:

> I don't think that helps? I'm on about the size of the kernel "Image" file, not
> the runtime memory footprint.
>
> ... unless you mean doing that at compiler time?

Oh, when Peter said: "This saves, on an x86_64-defconfig + FTRACE,
23975*4 ~= 94K of permanent storage." I was thinking of "storage in
memory". I wasn't thinking of disk space on the host machine.

But sure, this is fine with me. I'll have to take a deeper look at the
patch though.

-- Steve