Re: [PATCH 2/2] perf_counter: optimize context switch betweenidentical inherited contexts

From: Paul Mackerras
Date: Sun May 24 2009 - 20:13:59 EST


Ingo Molnar writes:

> OTOH, enabling/disabling counters in specific functions of a library
> might be a valid use-case.

If that's the use case, wouldn't we wouldn't the "enable" to restore
the previous state, rather than enabling all counters?

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