[PATCH 2.6.x] additional kernel event notifications

From: Villacis, Juan
Date: Thu Sep 18 2003 - 01:21:22 EST


Hi,

We request that the following patch for additional kernel event
notifications be included in the upcoming 2.6.x kernel.

The current profiling hooks provide notifications at the end of a task's
lifetime (i.e., task exit, mmap exit, and exec unmap). We would like to
have additional notifications on the start of a task (i.e., fork,
execve, kernel image loads, and user image loads).

We believe that profiling tools such as Oprofile, Perfmon, and VTune
would benefit from the additional hooks by improving the accuracy and
completeness of the performance data, especially when working in
environments that can dynamically create and destroy executable code
(such as Java). Furthermore, these hooks could be used to measure
different types of performance data (e.g., "forks per second") which are
currently not available any other way.

Our patch follows the conventions used by the current profiling hooks,
and is relatively small.

We would appreciate comments/feedback on our proposal.

Regards,

Juan Villacis
Intel Corporation
Santa Clara, CA 95052

Attachment: notification-2.6.0-test5.patch
Description: notification-2.6.0-test5.patch

Attachment: notification-2.6.0-test5.diffstat
Description: notification-2.6.0-test5.diffstat