Re: [PATCH 1/3] perf tools: Recognize hugetlb mapping as anon mapping

2016-09-03 Thread Nilay Vaish
On 2 September 2016 at 08:59, Wang Nan wrote: > Hugetlbfs mapping should be recognized as anon mapping so user has > a chance to create /tmp/perf-.map file for symbol resolving. This > patch utilizes MAP_HUGETLB to identify hugetlb mapping. > > After this patch, if perf is started before the progr

[PATCH 1/3] perf tools: Recognize hugetlb mapping as anon mapping

2016-09-02 Thread Wang Nan
Hugetlbfs mapping should be recognized as anon mapping so user has a chance to create /tmp/perf-.map file for symbol resolving. This patch utilizes MAP_HUGETLB to identify hugetlb mapping. After this patch, if perf is started before the program uses huge pages starting, perf is able to recognize h