Re: [PATCH 1/2] perf, tools, list: Print aliases with --raw-dump

2016-09-19 Thread Andi Kleen
> why don't you copy syms->alias into name and let the code below do the queue? Because it needs to queue two entries, not just a single one. -Andi

Re: [PATCH 1/2] perf, tools, list: Print aliases with --raw-dump

2016-09-19 Thread Jiri Olsa
On Sun, Sep 18, 2016 at 11:18:18AM -0700, Andi Kleen wrote: > From: Andi Kleen > > Print aliases like 'cycles' with perf list --raw-dump, so that > they can be completed by perf-completion.sh > > Signed-off-by: Andi Kleen > --- > tools/perf/util/parse-events.c | 10 +- > 1 file changed

[PATCH 1/2] perf, tools, list: Print aliases with --raw-dump

2016-09-18 Thread Andi Kleen
From: Andi Kleen Print aliases like 'cycles' with perf list --raw-dump, so that they can be completed by perf-completion.sh Signed-off-by: Andi Kleen --- tools/perf/util/parse-events.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/parse-events.c