Re: [RFC][PATCH 00/13] Cleanup recordmcount and begin objtool conversion

From: Steven Rostedt
Date: Tue May 28 2019 - 10:53:27 EST

On Tue, 28 May 2019 09:43:28 -0500
Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:

> Thanks for the patches. This looks like a good step in the right
> direction.

Good to hear.

> What's the performance difference between the old recordmcount and the
> new version which relies on elf_open()? It would be useful to compare
> kernel build times, before and after.

I'll let Matt answer these.

> Would it be feasible to eventually combine subcommands so that objtool
> could do both ORC and mcount generation in a single invocation? I
> wonder what what the interface would look like.

That is actually the goal of this work. To eventually be able to do
single passes to accomplish multiple tasks.

-- Steve