From: Robert Richter Date: Wed, 2 Feb 2011 16:40:59 +0000 (+0100) Subject: perf, x86: Store perfctr msr addresses in config_base/event_base X-Git-Tag: v2.6.39-rc1~510^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73d6e52206a20354738418625cedc244cbfd5023;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra LKML-Reference: <1296664860-10886-5-git-send-email-robert.richter@amd.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed