Messages in this thread | | | Date | Tue, 14 Apr 2020 11:54:58 -0400 | From | Steven Rostedt <> | Subject | Re: [RFC][PATCH 00/36] objtool: Make recordmcount a subcommand |
| |
On Tue, 14 Apr 2020 15:17:39 +0100 Julien Thierry <jthierry@redhat.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
| |