Re: [PATCH] perf tools: Don't set cmdline_group_boundary if no evsel is collected

2015-08-27 Thread Wangnan (F)
On 2015/8/26 16:32, Wang Nan wrote: If parse_events__scanner() collects no entry, perf_evlist__last(evlist) is invalid. Then setting of cmdline_group_boundary touches invalid. It could happend in currect BPF implementation. See [1]. Although it can be fixed, for safety reason it whould be bett

[PATCH] perf tools: Don't set cmdline_group_boundary if no evsel is collected

2015-08-26 Thread Wang Nan
If parse_events__scanner() collects no entry, perf_evlist__last(evlist) is invalid. Then setting of cmdline_group_boundary touches invalid. It could happend in currect BPF implementation. See [1]. Although it can be fixed, for safety reason it whould be better to introduce this check. [1]: http: