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

From: Villacis, Juan
Date: Fri Sep 19 2003 - 16:19:36 EST


Hi,

"Andrew Morton" <akpm@xxxxxxxx> 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

-
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/