[PATCH 2/3] perf top: Fix unresolved comm when -s comm is used

2015-09-29 Thread Namhyung Kim
The perf top uses 'dso,symbol' sort keys by default so it overlooked a problem in task's comm resolving. When the sort key contains 'comm', some task's comm is not shown properly. This is because the perf_top__mmap_read_idx() checks the cpumode value improperly. The cpumode value of non-sample

[PATCH 2/3] perf top: Fix unresolved comm when -s comm is used

2015-09-29 Thread Namhyung Kim
The perf top uses 'dso,symbol' sort keys by default so it overlooked a problem in task's comm resolving. When the sort key contains 'comm', some task's comm is not shown properly. This is because the perf_top__mmap_read_idx() checks the cpumode value improperly. The cpumode value of non-sample