From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10828 invoked by alias); 6 Sep 2016 14:37:15 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 10818 invoked by uid 89); 6 Sep 2016 14:37:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:625, dear X-HELO: mail-qk0-f172.google.com Received: from mail-qk0-f172.google.com (HELO mail-qk0-f172.google.com) (209.85.220.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 06 Sep 2016 14:37:13 +0000 Received: by mail-qk0-f172.google.com with SMTP id v123so219192838qkh.2 for ; Tue, 06 Sep 2016 07:37:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lSjhgabFUV2hk8IQmQx+sxKj7kKt9OZIm4g1G6tK7m8=; b=VCzum4BN+m2tJWneMwv4nUpP451xUClXWAPGSBTWhrdIigBlCKJUDHJmeY6ZJPcvaB y3F+NuuxYEz55f4/RyZHfBXH8QZPVVAZ/+K3j7QALhWzNqzTkeL6d3PpDTiQjMiMsJZM xSRqqiVY5T4pBFIsNg9HLXXKwzFnT4JBD/HeJwPv5rtZi8Mt26+NV47al3w4JjOw+hVb /De47iC4lij9KL6XXvCa+fZz4chdzT9YVqaa/GwbD1vNOE2vf28iINp1KgfxgvngZM3H hw0hRKOa+qUplIHGL6YOZUvEzDH356HHVHS4PaGfk9+VZWjoqB9ySwUPgVUijmV1qoN1 tWhQ== X-Gm-Message-State: AE9vXwNkk1eHssyIa5x88yewYcP8kGp7sGygX3xY/mNhxp3khYwMn34vs0vic3xQgITUJ1SgyfS5EDE7Yhnr7w== X-Received: by 10.55.3.20 with SMTP id 20mr43391684qkd.34.1473172631876; Tue, 06 Sep 2016 07:37:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.44.7 with HTTP; Tue, 6 Sep 2016 07:36:41 -0700 (PDT) From: =?UTF-8?B?5oWV5Yas5Lqu?= Date: Tue, 06 Sep 2016 14:37:00 -0000 Message-ID: Subject: Could not use "record btrace" even if I have Intel PT hardware feature To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00029.txt.bz2 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