[PATCH 04/11] perf: Add ->count() function to read per-package counters

2014-11-14 Thread Matt Fleming
From: Matt Fleming For PMU drivers that record per-package counters, the ->count variable cannot be used to record an accurate aggregated value, since it's not possible to perform SMP cross-calls to cpus on other packages from the context in which we update ->count. Introduce a new optional ->co

[PATCH 04/11] perf: Add ->count() function to read per-package counters

2014-11-06 Thread Matt Fleming
From: Matt Fleming For PMU drivers that record per-package counters, the ->count variable cannot be used to record an accurate aggregated value, since it's not possible to perform SMP cross-calls to cpus on other packages from the context in which we update ->count. Introduce a new optional ->co