[PATCH 2/3] perf tools: Skip MMAP record synthesis for kernel threads

2021-02-02 Thread Namhyung Kim
To synthesize information to resolve sample IPs, it needs to scan task and mmap info from the /proc filesystem. For each process, it opens (and reads) status and maps file respectively. But as kernel threads don't have memory maps so we can skip the maps file. To find kernel threads, check "VmPe

Re: [PATCH 2/3] perf tools: Skip MMAP record synthesis for kernel threads

2021-02-01 Thread Jiri Olsa
On Mon, Feb 01, 2021 at 01:54:32PM +0900, Namhyung Kim wrote: > On Mon, Feb 1, 2021 at 7:48 AM Jiri Olsa wrote: > > > > On Fri, Jan 29, 2021 at 02:49:00PM +0900, Namhyung Kim wrote: > > > To synthesize information to resolve sample IPs, it needs to scan task > > > and mmap info from the /proc file

Re: [PATCH 2/3] perf tools: Skip MMAP record synthesis for kernel threads

2021-01-31 Thread Namhyung Kim
On Mon, Feb 1, 2021 at 7:48 AM Jiri Olsa wrote: > > On Fri, Jan 29, 2021 at 02:49:00PM +0900, Namhyung Kim wrote: > > To synthesize information to resolve sample IPs, it needs to scan task > > and mmap info from the /proc filesystem. For each process, it > > opens (and reads) status and maps file

Re: [PATCH 2/3] perf tools: Skip MMAP record synthesis for kernel threads

2021-01-31 Thread Jiri Olsa
On Fri, Jan 29, 2021 at 02:49:00PM +0900, Namhyung Kim wrote: > To synthesize information to resolve sample IPs, it needs to scan task > and mmap info from the /proc filesystem. For each process, it > opens (and reads) status and maps file respectively. But as kernel > threads don't have memory m

[PATCH 2/3] perf tools: Skip MMAP record synthesis for kernel threads

2021-01-28 Thread Namhyung Kim
To synthesize information to resolve sample IPs, it needs to scan task and mmap info from the /proc filesystem. For each process, it opens (and reads) status and maps file respectively. But as kernel threads don't have memory maps so we can skip the maps file. To find kernel threads, check "VmPe

Re: [PATCH 2/3] perf tools: Skip MMAP record synthesis for kernel threads

2020-12-28 Thread Namhyung Kim
On Mon, Dec 28, 2020 at 8:50 PM Jiri Olsa wrote: > > On Mon, Dec 21, 2020 at 04:00:28PM +0900, Namhyung Kim wrote: > > To synthesize information to resolve sample IPs, it needs to scan task > > and mmap info from the /proc filesystem. For each process, it > > opens (and reads) status and maps fil

Re: [PATCH 2/3] perf tools: Skip MMAP record synthesis for kernel threads

2020-12-28 Thread Jiri Olsa
On Mon, Dec 21, 2020 at 04:00:28PM +0900, Namhyung Kim wrote: > To synthesize information to resolve sample IPs, it needs to scan task > and mmap info from the /proc filesystem. For each process, it > opens (and reads) status and maps file respectively. But as kernel > threads don't have memory m

[PATCH 2/3] perf tools: Skip MMAP record synthesis for kernel threads

2020-12-20 Thread Namhyung Kim
To synthesize information to resolve sample IPs, it needs to scan task and mmap info from the /proc filesystem. For each process, it opens (and reads) status and maps file respectively. But as kernel threads don't have memory maps so we can skip the maps file. To find kernel threads, check "VmPe