On Thu, Jul 10, 2008 at 09:43:16AM -0500, James Bottomley wrote:So as I understand things, your light-weight tracepoints are designed for very performance-sensitive code paths where we don't want to disturbe the optimization in the deactivated state. In non-performance sensitive parts of the kernel, where cycle counting is not so important, tracepoints can and probably should still be used. So I don't think you were proposing eliminating the current kernel markers in favor of this approach, yes? When you said a tool could determine if the tracepoint had gotten optimized away, or the variables were no longer present, I assume you meant at compile time, right? So with the right tool built into the kbuild infrastructure, if we could simply print warnings when tracepoints had gotten optimized away, that would make the your simple tracepoints quite safe for general use, I would think. - Ted P.S. When you said that the current kernel markers are "a bit heavyweight", how bad are they in practice? Hundreds of cycles? More? --
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Alan Cox | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
| Evgeniy Polyakov | Re: [BUG] New Kernel Bugs |
