Robert Richter 73d6e52206 perf, x86: Store perfctr msr addresses in config_base/event_base
Instead of storing the base addresses we can store the counter's msr
addresses directly in config_base/event_base of struct hw_perf_event.
This avoids recalculating the address with each msr access. The
addresses are configured one time. We also need this change to later
modify the address calculation.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1296664860-10886-5-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-02-16 13:30:52 +01:00
..
2010-08-27 11:12:29 -07:00
2010-10-26 16:52:08 -07:00
2010-07-21 11:33:27 -07:00
2011-01-12 11:23:16 +02:00
2010-11-12 00:45:41 +01:00
2010-07-21 21:23:51 -07:00
2010-08-27 11:12:29 -07:00
2010-09-22 16:33:03 -04:00
2011-01-07 15:08:53 +01:00
2011-01-13 17:32:39 -08:00
2010-10-27 18:03:10 -07:00
2011-01-07 15:08:53 +01:00
2009-12-09 16:28:59 -08:00
2010-03-26 11:33:57 +01:00
2011-01-13 17:32:40 -08:00
2011-01-07 15:08:53 +01:00
2011-01-13 17:32:41 -08:00
2010-10-18 10:49:34 -04:00