[PATCH v2 0/5] Support Intel(R) Processor Trace
Markus Metzger
markus.t.metzger@intel.com
Wed Jul 1 11:58:00 GMT 2015
Changes to v1:
- incorporated review feedback from Eli
- incorporated review feedback from Pedro
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 Linux 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 | 47 ++
gdb/btrace.c | 1154 +++++++++++++++++++++++++++++++++++++++++-
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 | 5 +-
gdb/features/btrace.dtd | 14 +-
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 | 166 +++++-
gdb/remote.c | 65 ++-
18 files changed, 2905 insertions(+), 42 deletions(-)
--
1.8.3.1
More information about the Gdb-patches
mailing list