Can Intel PT (Processor Trace) be disabled/configured from within an OS?

后端 未结 3 1124
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-11 02:19

I have a number of questions about Intel PT (have been trying to decode the manual but is very difficult). My questions are:

  1. I am trying to find out i
3条回答
  •  无人共我
    2021-02-11 03:11

    This is the patch that enable the use of Intel PT in 4.3:

    https://lkml.org/lkml/2013/12/11/233

    https://lkml.org/lkml/2015/9/24/181

    https://lkml.org/lkml/2015/9/27/45

    This is on the interaction of PT with other Intel features like LBT:

    https://lkml.org/lkml/2014/7/31/572

    Read up the documentation at tools/perf/Documentation/intel-pt.txt on usage how to.

    Andi Kleen from Intel is the originator of the patch for Skylakes/Broadwell (only these two processor and the Atom series support Intel PT), and he has the userspace tool for demonstrating its use for debugging:

    https://github.com/andikleen/simple-pt

    For more details please see:

    https://tthtlc.wordpress.com/2016/01/26/intel-processor-trace-how-to-use-it/

提交回复
热议问题