summaryrefslogtreecommitdiff
path: root/kernel/events
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2015-08-06 15:26:58 (GMT)
committerIngo Molnar <mingo@kernel.org>2015-08-12 09:43:20 (GMT)
commit19b3340cf58d14decf2898fc795cc2b1fa49e79e (patch)
tree527fff56ba3f0c79f29ed0787bc5e61b3d5251d9 /kernel/events
parent3d325bf0da91ca5d22f2525a72308dafd4fc0977 (diff)
downloadlinux-19b3340cf58d14decf2898fc795cc2b1fa49e79e.tar.xz
perf/x86: Fix MSR PMU driver
Currently we only update the sysfs event files per available MSR, we didn't actually disallow creating unlisted events. Rework things such that the dectection, sysfs listing and event creation are better coordinated. Sadly it appears it's impossible to probe R/O MSRs under virt. This means we have to do the full model table to avoid listing all MSRs all the time. Tested-by: Kan Liang <kan.liang@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Andy Lutomirski <luto@amacapital.net> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions