• Alexander Shishkin's avatar
    perf/x86/intel/pt: Add Intel PT PMU driver · 52ca9ced
    Alexander Shishkin authored
    Add support for Intel Processor Trace (PT) to kernel's perf events.
    PT is an extension of Intel Architecture that collects information about
    software execuction such as control flow, execution modes and timings and
    formats it into highly compressed binary packets. Even being compressed,
    these packets are generated at hundreds of megabytes per second per core,
    which makes it impractical to decode them on the fly in the kernel.
    
    This driver exports trace data by through AUX space in the perf ring
    buffer, which is zero-copy mapped into userspace for faster data retrieval.
    Signed-off-by: default avatarAlexander Shishkin <alexander.shishkin@linux.intel.com>
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Kaixu Xia <kaixu.xia@linaro.org>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Robert Richter <rric@kernel.org>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: acme@infradead.org
    Cc: adrian.hunter@intel.com
    Cc: kan.liang@intel.com
    Cc: markus.t.metzger@intel.com
    Cc: mathieu.poirier@linaro.org
    Link: http://lkml.kernel.org/r/1422614392-114498-1-git-send-email-alexander.shishkin@linux.intel.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    52ca9ced
perf_event_intel.c 81.8 KB