public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Support Intel(R) Processor Trace
@ 2015-06-23  8:22 Markus Metzger
  2015-06-23  8:22 ` [PATCH 3/5] btrace, linux: use data_size and data_offset Markus Metzger
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Markus Metzger @ 2015-06-23  8:22 UTC (permalink / raw)
  To: palves; +Cc: gdb-patches

Processor Trace (PT) is a new h/w tracing feature available with the 5th
generation Core processor.

It allows recording control-flow execution trace similar to Branch Trace Store
(BTS), which is already supported by GDB via the "record btrace" command.
PT is also integrated into GDB's record framework and enabled via the "record
btrace" or the "record btrace pt" command.  The former falls back to BTS, if
PT is not available.

Compared to BTS, PT is more compact and significantly less intrusive.  This
means longer traces and less recording overhead.

The PT driver has been merged into kernel 4.1.  This patch series adds GDB
support.  The actual decode is done in a separate library that is available
open source on github:

    https://github.com/01org/processor-trace

Markus Metzger (5):
  configure: check for libipt
  btrace: support Intel(R) Processor Trace
  btrace, linux: use data_size and data_offset
  btrace: store raw btrace data
  btrace: maintenance commands

 gdb/Makefile.in              |    5 +-
 gdb/NEWS                     |   27 +
 gdb/btrace.c                 | 1134 +++++++++++++++++++++++++++++++++++++++++-
 gdb/btrace.h                 |   85 ++++
 gdb/common/btrace-common.c   |   97 ++++
 gdb/common/btrace-common.h   |   48 +-
 gdb/config.in                |    3 +
 gdb/configure                |  498 +++++++++++++++++++
 gdb/configure.ac             |   20 +
 gdb/doc/gdb.texinfo          |  187 ++++++-
 gdb/features/btrace-conf.dtd |    7 +-
 gdb/features/btrace.dtd      |   16 +-
 gdb/gdbserver/linux-low.c    |   85 +++-
 gdb/gdbserver/server.c       |   51 +-
 gdb/nat/linux-btrace.c       |  398 ++++++++++++++-
 gdb/nat/linux-btrace.h       |   19 +
 gdb/record-btrace.c          |  139 +++++-
 gdb/remote.c                 |   65 ++-
 18 files changed, 2841 insertions(+), 43 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-07-01  8:39 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-23  8:22 [PATCH 0/5] Support Intel(R) Processor Trace Markus Metzger
2015-06-23  8:22 ` [PATCH 3/5] btrace, linux: use data_size and data_offset Markus Metzger
2015-06-30 12:56   ` Pedro Alves
2015-06-23  8:22 ` [PATCH 4/5] btrace: store raw btrace data Markus Metzger
2015-06-30 12:56   ` Pedro Alves
2015-06-23  8:22 ` [PATCH 5/5] btrace: maintenance commands Markus Metzger
2015-06-23 15:28   ` Eli Zaretskii
2015-06-24  7:05     ` Metzger, Markus T
2015-06-24 14:38       ` Eli Zaretskii
2015-06-30 12:57   ` Pedro Alves
2015-06-23  8:22 ` [PATCH 1/5] configure: check for libipt Markus Metzger
2015-06-30 12:56   ` Pedro Alves
2015-06-30 14:54     ` Metzger, Markus T
2015-06-30 15:01       ` Pedro Alves
2015-06-23  8:23 ` [PATCH 2/5] btrace: support Intel(R) Processor Trace Markus Metzger
2015-06-23 15:32   ` Eli Zaretskii
2015-06-30 12:56   ` Pedro Alves
2015-06-30 14:54     ` Metzger, Markus T
2015-06-30 15:08       ` Pedro Alves
2015-07-01  8:39         ` Metzger, Markus T

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).