Re: [PATCH v2 4/4] perf tools: Increase index if perf_evsel__new_idx() succeeded

From: Taeung Song
Date: Wed Feb 01 2017 - 03:05:03 EST




On 01/31/2017 10:25 PM, Arnaldo Carvalho de Melo wrote:
Em Tue, Jan 31, 2017 at 08:38:31PM +0900, Taeung Song escreveu:
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Signed-off-by: Taeung Song <treeze.taeung@xxxxxxxxx>

The title of this patch is misleading, ambiguous. It leads one to have
doubt if we were not incrementing that index before and now we are,
after successfully calling perf_evsel__new_idx().

It should have been:

"perf tools: Only increase index if perf_evsel__new_idx() succeeds"


Understood!
I'll change the title!

Thanks,
Taeung