Re: [PATCH] perf: top: fix a segfault when kernel map is restricted.

2015-05-04 Thread Arnaldo Carvalho de Melo
Em Fri, Apr 24, 2015 at 11:35:29PM +, Wang Nan escreveu: > Perf top raise a warning if a kernel sample is collected but kernel map > is restricted. The warning message needs to dereference al.map->dso... > However, previous perf_event__preprocess_sample() doesn't always > guarantee al.map != NU

Re: [RESEND PATCH] perf: top: fix a segfault when kernel map is restricted.

2015-04-27 Thread Arnaldo Carvalho de Melo
Em Sat, Apr 25, 2015 at 07:25:03AM +, Wang Nan escreveu: > Perf top raise a warning if a kernel sample is collected but kernel map > is restricted. The warning message needs to dereference al.map->dso... > However, previous perf_event__preprocess_sample() doesn't always > guarantee al.map != NU

[RESEND PATCH] perf: top: fix a segfault when kernel map is restricted.

2015-04-25 Thread Wang Nan
Perf top raise a warning if a kernel sample is collected but kernel map is restricted. The warning message needs to dereference al.map->dso... However, previous perf_event__preprocess_sample() doesn't always guarantee al.map != NULL, for example, when kernel map is restricted. This patch validates

[PATCH] perf: top: fix a segfault when kernel map is restricted.

2015-04-24 Thread Wang Nan
Perf top raise a warning if a kernel sample is collected but kernel map is restricted. The warning message needs to dereference al.map->dso... However, previous perf_event__preprocess_sample() doesn't always guarantee al.map != NULL, for example, when kernel map is restricted. This patch validates