Messages in this thread | | | Date | Tue, 24 Nov 2009 09:15:10 +0200 | Subject | Re: [PATCH 0/5] perf kmem: Add more functions and show more statistics | From | Pekka Enberg <> |
| |
Hi Li,
On Tue, Nov 24, 2009 at 7:25 AM, Li Zefan <lizf@cn.fujitsu.com> wrote: > Pekka, do you think we can remove kmemtrace now?
One more use case I forgot to mention: boot time tracing. Much of the persistent kernel memory footprint comes from the boot process which is why it's important to be able to trace memory allocations immediately after kmem_cache_init() has run. Can we make "perf kmem" do that? Eduard put most of his efforts into making that work for kmemtrace.
On Tue, Nov 24, 2009 at 7:25 AM, Li Zefan <lizf@cn.fujitsu.com> wrote: > With kmem trace events, low-level analyzing can be done using > ftrace, and high-level analyzing can be done using perf-kmem. > > And chance is, more people may use and improve perf-kmem, and it > will be well-maintained within the perf infrastructure. On the > other hand, I guess few people use and contribute to kmemtrace-user.
Sure, I think "perf kmem" is the way forward. I'd love to hear Eduard's comments on this before we remove the code from kernel. Do we need to do that for 2.6.33 or can we postpone that for 2.6.34?
Pekka
| |