RE: [PATCH 2.6.x] additional kernel event notifications

Villacis, Juan
2003-09-19T21:18:48Z

Hi,

"Andrew Morton" <akpm@osdl.org> wrote:
>
> That code seems to have a lot of infrastructure for buffering samples,
> transferring it to userspace, etc.

We are not trying to change the current profiling infrastructure. We
are trying to enhance the existing event notification scheme to handle
more events.

> Have you looked into using the infrastructure in drivers/oprofile/ for
> this? In other words: is it possible to augment the kernel's existing
> oprofile capabilities so they meet VTune requirements?

The current event notifications used by tools like Oprofile, while quite
useful, are not sufficient. The additional event notifications we
propose can provide a more complete picture for performance tuning on
Linux, particularly for dynamically generated code (such as found in
Java).
In addition to allowing for the enhancement of current performance
tools, it also enables creation of new tools to gather measurements that
were previously difficult to obtain (e.g., "image loads per second").

-juan