Re: [PATCH] perf tools: Fix crash on buildid-list with namespace

2017-10-17 Thread Namhyung Kim
On Tue, Oct 17, 2017 at 11:05:55AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Oct 17, 2017 at 10:29:00PM +0900, Namhyung Kim escreveu: > > Thomas reported that perf buildid-list gets a segfault due to NULL > > pointer when he ran it on a data with namespace events. It was because > > the bui

Re: [PATCH] perf tools: Fix crash on buildid-list with namespace

2017-10-17 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 17, 2017 at 10:29:00PM +0900, Namhyung Kim escreveu: > Thomas reported that perf buildid-list gets a segfault due to NULL > pointer when he ran it on a data with namespace events. It was because > the buildid_id__mark_dso_hit_ops lacks the namespace event handler and > perf_too__fill_d

[PATCH] perf tools: Fix crash on buildid-list with namespace

2017-10-17 Thread Namhyung Kim
Thomas reported that perf buildid-list gets a segfault due to NULL pointer when he ran it on a data with namespace events. It was because the buildid_id__mark_dso_hit_ops lacks the namespace event handler and perf_too__fill_default() didn't set it. Program received signal SIGSEGV, Segmentation