Re: [PATCH v2 1/2] perf parse-event: Release cpu_map if evsel alloc failed

2020-09-17 Thread Namhyung Kim
On Fri, Sep 18, 2020 at 1:30 AM Arnaldo Carvalho de Melo wrote: > > Em Thu, Sep 17, 2020 at 03:10:58PM +0200, Jiri Olsa escreveu: > > On Thu, Sep 17, 2020 at 03:02:18PM +0900, Namhyung Kim wrote: > > > Signed-off-by: Namhyung Kim > > > --- > > > tools/perf/util/parse-events.c | 4 +++- > > > 1 f

Re: [PATCH v2 1/2] perf parse-event: Release cpu_map if evsel alloc failed

2020-09-17 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 17, 2020 at 03:10:58PM +0200, Jiri Olsa escreveu: > On Thu, Sep 17, 2020 at 03:02:18PM +0900, Namhyung Kim wrote: > > Signed-off-by: Namhyung Kim > > --- > > tools/perf/util/parse-events.c | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/tools/perf/ut

Re: [PATCH v2 1/2] perf parse-event: Release cpu_map if evsel alloc failed

2020-09-17 Thread Namhyung Kim
On Thu, Sep 17, 2020 at 10:11 PM Jiri Olsa wrote: > > On Thu, Sep 17, 2020 at 03:02:18PM +0900, Namhyung Kim wrote: > > Signed-off-by: Namhyung Kim > > --- > > tools/perf/util/parse-events.c | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/tools/perf/util/parse-e

Re: [PATCH v2 1/2] perf parse-event: Release cpu_map if evsel alloc failed

2020-09-17 Thread Jiri Olsa
On Thu, Sep 17, 2020 at 03:02:18PM +0900, Namhyung Kim wrote: > Signed-off-by: Namhyung Kim > --- > tools/perf/util/parse-events.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c > index 667cbca1547a..176

[PATCH v2 1/2] perf parse-event: Release cpu_map if evsel alloc failed

2020-09-16 Thread Namhyung Kim
Signed-off-by: Namhyung Kim --- tools/perf/util/parse-events.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index 667cbca1547a..176a51698a64 100644 --- a/tools/perf/util/parse-events.c +++ b/tools/perf/util/