Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: 慕冬亮 <mudongliangabcd@gmail.com>
To: gdb@sourceware.org
Subject: Could not use "record btrace" even if I have Intel PT hardware feature
Date: Tue, 06 Sep 2016 14:37:00 -0000	[thread overview]
Message-ID: <CAD-N9QUz19B6Dj2J+=RZ1G4Nfjko3PZD-6_v+hVEsmfjWTR9vg@mail.gmail.com> (raw)

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


             reply	other threads:[~2016-09-06 14:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06 14:37 慕冬亮 [this message]
     [not found] ` <A78C989F6D9628469189715575E55B233FFB6E07@IRSMSX104.ger.corp.intel.com>
2016-09-06 16:48   ` 慕冬亮

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAD-N9QUz19B6Dj2J+=RZ1G4Nfjko3PZD-6_v+hVEsmfjWTR9vg@mail.gmail.com' \
    --to=mudongliangabcd@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox