lkml.org 
[lkml]   [2020]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2020-04-14 17:55    [W:0.092 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site