]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/include/uapi/asm/msr-index.h
perf/x86: Implement IBS interrupt handler
authorRobert Richter <robert.richter@amd.com>
Thu, 15 Dec 2011 16:56:37 +0000 (17:56 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 8 Mar 2012 10:35:21 +0000 (11:35 +0100)
commitb7074f1fbd6149eac1ec25063e4a364c39a85473
tree2e428294b13bcf83fd7138850889a238a641e5c3
parent510419435c6948fb32959d691bf84eaba41ca474
perf/x86: Implement IBS interrupt handler

This patch implements code to handle ibs interrupts. If ibs data
is available a raw perf_event data sample is created and sent
back to the userland. This patch only implements the storage of
ibs data in the raw sample, but this could be extended in a
later patch by generating generic event data such as the rip
from the ibs sampling data.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1323968199-9326-3-git-send-email-robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/msr-index.h
arch/x86/kernel/cpu/perf_event_amd_ibs.c