This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH 9/16] 2.6.17-rc6 perfmon2 patch for review: kernel-level API support (kapi)
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: eranian at hpl dot hp dot com
- Cc: Christoph Hellwig <hch at infradead dot org>, linux-kernel at vger dot kernel dot org, systemtap at sources dot redhat dot com, wcohen at redhat dot com, perfmon at napali dot hpl dot hp dot com
- Date: 16 Jun 2006 11:41:32 -0400
- Subject: Re: [PATCH 9/16] 2.6.17-rc6 perfmon2 patch for review: kernel-level API support (kapi)
- References: <200606150907.k5F97coF008178@frankl.hpl.hp.com> <20060616135014.GB12657@infradead.org> <20060616140234.GI10034@frankl.hpl.hp.com>
Stephane Eranian <eranian@hpl.hp.com> writes:
> > > This patch contains the kernel-level API support.
> > NACK. No one should call this from kernel space.
>
> Well, that's what I initially thought too but there is a need from
> the SystemTap people and given the way they set things up, it is
> hard to do it from user level. [...]
Whether one uses systemtap, raw kprobes, or some specialized
tracing/stats-collecting patch surely forthcoming, kernel-level APIs
would be needed to perform fine-grained kernel-scope measurements
using these counters.
- FChE