Could not use "record btrace" even if I have Intel PT hardware feature
慕冬亮
mudongliangabcd@gmail.com
Tue Sep 6 14:37:00 GMT 2016
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
More information about the Gdb
mailing list