Re: [PATCH 6/18] 2.6.17.9 perfmon2 patch for review: sampling format support

From: Andi Kleen
Date: Wed Aug 23 2006 - 06:28:26 EST


Stephane Eranian <eranian@xxxxxxxxxxxxxxxxx> writes:

> This files contains the sampling format support.
>
> Perfmon2 supports an in-kernel sampling buffer for performance
> reasons. Yet to ensure maximum flexibility to applications,
> the formats is which infmration is recorded into the kernel
> buffer is not specified by the interface. Instead it is
> delegated to a kernel plug-in modules called sampling formats.

This seems quote complicated. Who are the users of different sampling formats?

I assume the code would be considerable simpler if you hardcoded
the perfmon2 format, right?

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