From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 335563945C10 for ; Tue, 1 Jun 2021 12:07:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 335563945C10 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54130) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lo3Ba-0000dr-Gp; Tue, 01 Jun 2021 08:07:54 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2444 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo3BZ-00010E-3D; Tue, 01 Jun 2021 08:07:54 -0400 Date: Tue, 01 Jun 2021 15:07:37 +0300 Message-Id: <83czt523g6.fsf@gnu.org> From: Eli Zaretskii To: Zied Guermazi Cc: gdb-patches@sourceware.org, markus.t.metzger@intel.com In-Reply-To: <20210531213307.275079-3-zied.guermazi@trande.de> (message from Zied Guermazi on Mon, 31 May 2021 23:33:02 +0200) Subject: Re: [PATCH v6 2/7] add btrace coresight related commands References: <20210531213307.275079-1-zied.guermazi@trande.de> <20210531213307.275079-3-zied.guermazi@trande.de> X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2021 12:07:58 -0000 > From: Zied Guermazi > Date: Mon, 31 May 2021 23:33:02 +0200 > Cc: Zied Guermazi > > This patch extends the commands needed for using branch tracing > with ARM CoreSight traces. > Those commands are: > set record btrace etm sink > set record btrace etm buffer-size > record btrace etm > > gdb/ChangeLog > > * NEWS: list new commands for extending btrace > to support using ARM CoreSight Traces. > * record-btrace.c (record_btrace_print_etm_conf): New. > (record_btrace_print_conf): handle BTRACE_FORMAT_ETM. > (cmd_record_btrace_etm_start): New. > (cmd_record_btrace_start): handle starting ETM tracing. > (cmd_show_record_btrace_cpu): extend for ARM cpus. > (show_record_etm_buffer_size_value): New. > (_initialize_record_btrace): add commands for ETM traces. > (record_start): add starting ETM traces. > > gdb/doc/ChangeLog > > * gdb.texinfo (Process Record and Replay): Document extending > GDB btrace commands to support using ARM CoreSight traces. > > gdbsupport/ChangeLog > > * btrace-common.h (btrace_format): add BTRACE_FORMAT_ETM > to the enum. > (btrace_config_etm): new struct. > (btrace_config): add btrace_config_etm etm. > * btrace-common.cc (btrace_format_string): add BTRACE_FORMAT_ETM. > (btrace_format_short_string): add BTRACE_FORMAT_ETM. Are there any changes in the documentation parts since the last time? If not, I think I already approved the doc parts. Thanks.