summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2020-07-23 10:11:04 -0700
committerPeter Zijlstra <peterz@infradead.org>2020-08-18 16:34:34 +0200
commit75608cb02ea5dd997990e2998eca3670cb71a18c (patch)
tree480c7c856a88379d9fda9be45461d81e3c9b02da /fs
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff)
perf/x86: Use event_base_rdpmc for the RDPMC userspace support
The RDPMC index is always re-calculated for the RDPMC userspace support, which is unnecessary. The RDPMC index value is stored in the variable event_base_rdpmc for the kernel usage, which can be used for RDPMC userspace support as well. Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20200723171117.9918-2-kan.liang@linux.intel.com
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions