Re: [PATCH 08/10] perf hists browser: Split popup menu actions - part 2

From: Arnaldo Carvalho de Melo
Date: Wed Apr 22 2015 - 09:26:02 EST


Em Wed, Apr 22, 2015 at 10:03:25PM +0900, Namhyung Kim escreveu:
> Hi Jiri,
>
> On Wed, Apr 22, 2015 at 12:54:09PM +0200, Jiri Olsa wrote:
> > On Wed, Apr 22, 2015 at 04:18:19PM +0900, Namhyung Kim wrote:
> > > + if (asprintf(optstr, "Run scripts for samples of thread [%s]",
> > > + thread__comm_str(thread)) < 0)
> > > + return 0;
> > > + } else if (sym) {

> > .............. && sym->namelen ;-)

> Ouch! sorry for missing this again.

> Arnaldo, any chance you can fix this if you're gonna merge it?

I can do that, but that slows down my rate of merging, so, if you could
do like Adrian Hunter did, and fix this up, stick a V2 tag to it, then
send it as a reply to the patch being fixed, that would help, so that
when I get to it, and sort by thread, I will see the fix and will use
it instead.

It'll look like this:

633 N T 04/09 Adrian Hunter (4,4K) ââ>[PATCH 24/44] perf auxtrace: Add option to synthesize events for transactions
-> 634 T 04/21 Adrian Hunter (8,9K) â ââ>[PATCH V2 23/44] perf tools: Add build option NO_AUXTRACE to exclude AUX area tracing
635 N T 04/09 Adrian Hunter (8,8K) ââ>[PATCH 23/44] perf tools: Add build option NO_AUXTRACE to exclude AUX area tracing
636 N T 04/09 Adrian Hunter (2,9K) ââ>[PATCH 22/44] perf tools: Hit all build ids when AUX area tracing
637 N T 04/09 Adrian Hunter ( 13K) ââ>[PATCH 21/44] perf tools: Add AUX area tracing index
638 N T 04/09 Adrian Hunter (6,1K) ââ>[PATCH 20/44] perf inject: Add Instruction Tracing support
639 N T 04/21 Adrian Hunter (3,2K) â ââ>[PATCH V2 19/44] perf inject: Re-pipe AUX area tracing events
640 N T 04/09 Adrian Hunter (3,2K) ââ>[PATCH 19/44] perf inject: Re-pipe AUX area tracing events
641 N T 04/09 Adrian Hunter (3,2K) ââ>[PATCH 18/44] perf report: Add Instruction Tracing support

See the "V2" ones? That really helps, thanks Adrian!

Additionaly, Adrian did, in the body of that message:

---- acme ---- acme --- acme --- acme ---

Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>
---


Changes in V2:

Get rid of MIN()


tools/perf/Makefile.perf | 2 +
tools/perf/builtin-inject.c | 53 +++++++++++-------

---- acme ---- acme --- acme --- acme ---

Which is perfect, I know have the new version and the summary of what
changed, in a way that git-am will trow away, etc.

- Arnaldo

> >
> > but I think you're right, let's see if there's (sym && !sym->namelen) case,
> > and fix it at the proper place.. not here
>
> Agreed.
>
> Thanks,
> Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/