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

From: Andi Kleen
Date: Fri Sep 19 2003 - 21:10:55 EST


"Villacis, Juan" <juan.villacis@xxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/