Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.21.2010050909510.12678@pobox.suse.cz>
Date: Mon, 5 Oct 2020 09:10:07 +0200 (CEST)
From: Miroslav Benes <mbenes@...e.cz>
To: Josh Poimboeuf <jpoimboe@...hat.com>
cc: Peter Zijlstra <peterz@...radead.org>, 
    Sami Tolvanen <samitolvanen@...gle.com>, 
    Masahiro Yamada <masahiroy@...nel.org>, Will Deacon <will@...nel.org>, 
    Steven Rostedt <rostedt@...dmis.org>, 
    Greg Kroah-Hartman <gregkh@...uxfoundation.org>, 
    "Paul E. McKenney" <paulmck@...nel.org>, Kees Cook <keescook@...omium.org>, 
    Nick Desaulniers <ndesaulniers@...gle.com>, 
    clang-built-linux@...glegroups.com, kernel-hardening@...ts.openwall.com, 
    linux-arch@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, 
    linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org, 
    linux-pci@...r.kernel.org, x86@...nel.org, jthierry@...hat.com
Subject: Re: [PATCH v4 04/29] objtool: Add a pass for generating
 __mcount_loc

On Fri, 2 Oct 2020, Josh Poimboeuf wrote:

> On Thu, Oct 01, 2020 at 03:36:12PM +0200, Peter Zijlstra wrote:
> > On Thu, Oct 01, 2020 at 03:17:07PM +0200, Miroslav Benes wrote:
> > 
> > > I also wonder about making 'mcount' command separate from 'check'. Similar 
> > > to what is 'orc' now. But that could be done later.
> > 
> > I'm not convinced more commands make sense. That only begets us the
> > problem of having to run multiple commands.
> 
> Agreed, it gets hairy when we need to combine things.  I think "orc" as
> a separate subcommand was a mistake.
> 
> We should change to something like
> 
>   objtool run [--check] [--orc] [--mcount]
>   objtool dump [--orc] [--mcount]

Yes, that makes sense.

Miroslav

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.