Re: [PATCH 1/9] perf evlist: Fix cpu/thread map leak

2020-09-07 Thread Namhyung Kim
Hi Jiri, On Mon, Sep 7, 2020 at 8:32 PM Jiri Olsa wrote: > > On Mon, Sep 07, 2020 at 01:29:29PM +0200, Jiri Olsa wrote: > > On Mon, Sep 07, 2020 at 12:44:54PM +0900, Namhyung Kim wrote: > > > Asan reported leak of cpu and thread maps as they have one more > > > refcount than released. I found

Re: [PATCH 1/9] perf evlist: Fix cpu/thread map leak

2020-09-07 Thread Jiri Olsa
On Mon, Sep 07, 2020 at 01:29:29PM +0200, Jiri Olsa wrote: > On Mon, Sep 07, 2020 at 12:44:54PM +0900, Namhyung Kim wrote: > > Asan reported leak of cpu and thread maps as they have one more > > refcount than released. I found that after setting evlist maps it > > should release it's refcount. >

Re: [PATCH 1/9] perf evlist: Fix cpu/thread map leak

2020-09-07 Thread Jiri Olsa
On Mon, Sep 07, 2020 at 12:44:54PM +0900, Namhyung Kim wrote: > Asan reported leak of cpu and thread maps as they have one more > refcount than released. I found that after setting evlist maps it > should release it's refcount. > > It seems to be broken from the beginning so I chose the original

[PATCH 1/9] perf evlist: Fix cpu/thread map leak

2020-09-06 Thread Namhyung Kim
Asan reported leak of cpu and thread maps as they have one more refcount than released. I found that after setting evlist maps it should release it's refcount. It seems to be broken from the beginning so I chose the original commit as the culprit. But not sure how it's applied to stable trees