Re: [PATCH 0/5] perf kmem: Add more functions and show more statistics

Ingo Molnar
2009-11-24T22:35:04Z

* Ingo Molnar <mingo@elte.hu> wrote:

>
> * Li Zefan <lizf@cn.fujitsu.com> wrote:
>
> > So I think some new updates on kernel perf_event break.
>
> yeah, you were right. This commit in latest -tip should fix it:
>
> fe61267: perf_events: Fix bad software/trace event recursion counting

i tested perf kmem and it works fine now:

aldebaran:~> perf kmem

SUMMARY
=======
Total bytes requested: 153166032
Total bytes allocated: 188544080
Total bytes wasted on internal fragmentation: 35378048
Internal fragmentation: 18.763807%
Cross CPU allocations: 61680/451425

Ingo