Re: [patch] Performance Counters for Linux, v2

From: Chris Friesen
Date: Tue Dec 09 2008 - 11:40:26 EST


Ingo Molnar wrote:

When there are two (or more) hw metrics to profile, the ideally best (i.e. the statistically most stable and most relevant) sampling for the two statistical variables (say of l2_misses versus l2_accesses) is to sample them independently, via their own metric. Not via a static 1khz rate - or via picking one of the variables to generate samples.

Regardless of sampling method, don't you still want some way to enable/disable the various counters as close to simultaneously as possible?

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