Could not use "record btrace" even if I have Intel PT hardware feature

慕冬亮 <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAD-N9QUz19B6Dj2J+=RZ1G4Nfjko3PZD-6_v+hVEsmfjWTR9vg@mail.gmail.com>
Dear all,

I encounter one problem when I try to leverage Intel PT to do branch tracing.

My cpu has Intel PT feature via "grep intel_pt /proc/cpuinfo".

$ grep intel_pt /proc/cpuinfo

flags : ...intel_pt...


$ gdb simple
.......
(gdb) b main
Breakpoint 1 at 0x40050c
(gdb) r
Starting program: .../Work/Projects/simple

Breakpoint 1, 0x000000000040050c in main ()
(gdb) record btrace
Target does not support branch tracing.
(gdb) record btrace pt
GDB does not support Intel Processor Trace.


--
My best regards to you.

     No System Is Safe!
     Dongliang Mu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.