From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93151 invoked by alias); 23 Jun 2015 08:22:29 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 39600 invoked by uid 89); 23 Jun 2015 08:17:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mga14.intel.com Received: from mga14.intel.com (HELO mga14.intel.com) (192.55.52.115) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 23 Jun 2015 08:17:05 +0000 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 23 Jun 2015 01:17:03 -0700 X-ExtLoop1: 1 Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 23 Jun 2015 01:17:03 -0700 Received: from ulvlx001.iul.intel.com (ulvlx001.iul.intel.com [172.28.207.17]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t5N8Gx2w010233; Tue, 23 Jun 2015 09:17:01 +0100 Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id t5N8Gx7F021882; Tue, 23 Jun 2015 10:16:59 +0200 Received: (from mmetzger@localhost) by ulvlx001.iul.intel.com with œ id t5N8GwMV021878; Tue, 23 Jun 2015 10:16:58 +0200 From: Markus Metzger To: palves@redhat.com Cc: gdb-patches@sourceware.org Subject: [PATCH 0/5] Support Intel(R) Processor Trace Date: Tue, 23 Jun 2015 08:22:00 -0000 Message-Id: <1435047418-21611-1-git-send-email-markus.t.metzger@intel.com> X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00453.txt.bz2 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