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

Andi Kleen
2003-09-20T02:02:29Z

"Villacis, Juan" <juan.villacis@intel.com> writes:

> 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).

Can you explain why profiling dynamically generated code needs kernel
support? The kernel should not know anything about this.

The original oprofile patch also added similar hooks, but they were
not merged. Instead the "dcookies" mechanism was added to assign samples to
specific executables. Why can't you use the same mechanism?

There is not more information in the kernel than what dcookies
already provide.

-Andi