From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38710 invoked by alias); 15 Jul 2016 12:27:06 -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 38681 invoked by uid 89); 15 Jul 2016 12:27:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=Midenkov, aleksey, midenkov, Tracepoint X-HELO: usplmg20.ericsson.net Received: from usplmg20.ericsson.net (HELO usplmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 15 Jul 2016 12:26:55 +0000 Received: from EUSAAHC003.ericsson.se (Unknown_Domain [147.117.188.81]) by usplmg20.ericsson.net (Symantec Mail Security) with SMTP id 4A.B7.09012.E7BC8875; Fri, 15 Jul 2016 13:39:42 +0200 (CEST) Received: from elxa4wqvvz1 (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.81) with Microsoft SMTP Server (TLS) id 14.3.294.0; Fri, 15 Jul 2016 08:26:51 -0400 References: User-agent: mu4e 0.9.17; emacs 24.4.1 From: Antoine Tremblay To: Aleksey Midenkov CC: "gdb@sourceware.org" Subject: Re: Tracepoint questions In-Reply-To: Date: Fri, 15 Jul 2016 12:27:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg00009.txt.bz2 Aleksey Midenkov writes: > Tracepoint hit count 30278, but only 7655 frames collected. Why? You may have hit the maximum trace buffer size. See: https://sourceware.org/gdb/current/onlinedocs/gdb/Starting-and-Stopping-Trace-Experiments.html#Starting-and-Stopping-Trace-Experiments Check the size with: show trace-buffer-size However this is target dependant, it may be hardcoded, what is your target ? You may want to try setting: set circular-trace-buffer on This will continue tracing after the buffer is full by making it a ring buffer, this way you will be able to know if you've stopped tracing previously because the max buffer was reached. > Am I right guessing that trace frames are in chronological order? > Yes. > If it's so, may I propose a suggestion: command 'tfind last' to select > last frame, because last is the most interesting one! That sounds like a good idea, since there is tfind start already... Regards, Antoine