Old 09-25-2007, 10:50 AM   #1
Administrator
Administrator
 
Join Date: Jul 2005
Posts: 7,374
Blog Entries: 16
Post Kernel Markers Aiming for 2.6.24

Mathieu Desnoyers posted an updated version of his Linux Kernel Markers patchset explaining, "following Christoph Hellwig's suggestion, aiming at a Linux Kernel Markers inclusion for 2.6.24, I made a simplified version of the Linux Kernel Markers. There are no more dependencies on any other patchset." He continued, "the modification only involved turning the immediate values into static variables and adapting the documentation accordingly. It will have a little more data cache impact when disabled than the version based on the immediate values, but it is far less complex." The patch includes documentation which explains:


"A marker placed in code provides a hook to call a function (probe) that you can provide at runtime. A marker can be 'on' (a probe is connected to it) or 'off' (no probe is attached). When a marker is 'off' it has no effect, except for adding a tiny time penalty (checking a condition for a branch) and space penalty (adding a few bytes for the function call at the end of the instrumented function and adds a data structure in a separate section). When a marker is 'on', the function you provide is called each time the marker is executed, in the execution context of the caller. When the function provided ends its execution, it returns to the caller (continuing from the marker site)."


read more | rsync.net - Offsite Unix Backups



[details]
 Administrator is offline Status: Offline

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kmemcheck Aiming For Mainline Inclusion Administrator News 0 04-04-2008 12:41 PM
Dusting Off the 0.01 Kernel Administrator News 0 01-02-2008 05:54 PM
2.6.23 Kernel, "Finally" Administrator News 0 10-09-2007 06:47 PM
Linux Aiming At Office Interoperability (TechWeb) Administrator News 0 12-05-2006 07:58 PM
How to amp up the Linux kernel Administrator News 0 08-24-2006 11:46 AM


All times are GMT -7. The time now is 11:36 AM.

 
         


Design by: vBulletin Skins Zone
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0