Skip to contentSkip to conversation

additional kernel event notifications

PATCH Andi Kleen 1 participant 1 message Sep 20, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#1 lore raw
Quoted 5 lines · Juan

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