[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200414115458.093e221b@gandalf.local.home>
Date: Tue, 14 Apr 2020 11:54:58 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Julien Thierry <jthierry@...hat.com>
Cc: Matt Helsley <mhelsley@...are.com>, linux-kernel@...r.kernel.org,
Josh Poimboeuf <jpoimboe@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>, Miroslav Benes <mbenes@...e.cz>
Subject: Re: [RFC][PATCH 00/36] objtool: Make recordmcount a subcommand
On Tue, 14 Apr 2020 15:17:39 +0100
Julien Thierry <jthierry@...hat.com> wrote:
> > I was hoping to have objtool handle all the operations needed that required
> > reading elf headers.
> >
>
> That makes sense, however, having each operation as an objtool
> subcommand doesn't solve that issue, right? Each invocation of objtool
> will re-read the elf object.
>
> I guess having all the relevant code in objtool as subcommand would be a
> first step towards that goal.
Exactly. I believe the goal (it's been a while since we discussed this),
was that we could "batch" the sub commands into a single command. That way,
the executable will be executed once per object file, load all the elf
headers, than iterate over all the sub commands that we set on the command
line.
-- Steve
Powered by blists - more mailing lists