[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170321182950.GE3641@kernel.org>
Date: Tue, 21 Mar 2017 15:29:50 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Taeung Song <treeze.taeung@...il.com>
Cc: linux-kernel@...r.kernel.org, Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Wang Nan <wangnan0@...wei.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Jiri Olsa <jolsa@...hat.com>
Subject: Re: [PATCH 4/4] perf annotate: More exactly grep -v of the objdump
command
Em Wed, Mar 22, 2017 at 01:19:49AM +0900, Taeung Song escreveu:
> On 03/21/2017 11:37 PM, Arnaldo Carvalho de Melo wrote:
> > > +++ b/tools/perf/util/annotate.c
> > > @@ -1443,7 +1443,7 @@ int symbol__disassemble(struct symbol *sym, struct map *map, const char *arch_na
> > > snprintf(command, sizeof(command),
> > > "%s %s%s --start-address=0x%016" PRIx64
> > > " --stop-address=0x%016" PRIx64
> > > - " -l -d %s %s -C %s 2>/dev/null|grep -v %s|expand",
> > > + " -l -d %s %s -C %s 2>/dev/null|grep -v %s: |expand",
> > Are you sure this works as you expect? I.e. both lines will have '%s:'
> Yes, if we do, we can exactly the only below line without the side effect
> IMHO.
yeah, because the .c is not there, ok gotcha, will get your new commit
log message, massage it a bit and apply the patch.
- Arnaldo
Powered by blists - more mailing lists