public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Zied Guermazi <zied.guermazi@trande.de>
Cc: gdb-patches@sourceware.org, markus.t.metzger@intel.com
Subject: Re: [PATCH v6 6/7] add support for coresight btrace via remote protocol
Date: Tue, 01 Jun 2021 15:08:35 +0300	[thread overview]
Message-ID: <83bl8p23ek.fsf@gnu.org> (raw)
In-Reply-To: <20210531213307.275079-7-zied.guermazi@trande.de> (message from Zied Guermazi on Mon, 31 May 2021 23:33:06 +0200)

> From: Zied Guermazi <zied.guermazi@trande.de>
> Date: Mon, 31 May 2021 23:33:06 +0200
> Cc: Zied Guermazi <zied.guermazi@trande.de>
> 
> This patch extends the remote protocol to use ARM CoreSight traces for btrace.
> This patch adds the capabilities enumeration as well as the required protocol
> extentions for configuring traces collection, starting and stopping tracing,
> and transferring the traces as well as the parameters needed for decoding them.
> 
> gdb/ChangeLog
> 
> 	* NEWS: list new remote packets for extending btrace
> 	to support using ARM CoreSight Traces.
> 	* btrace.c (check_xml_btrace_version): add version 1.1
> 	(parse_xml_btrace_etm_config_source_config_cpu_etmv4_config): New.
> 	(parse_xml_btrace_etm_config_source_config_cpu_etmv3_config): New.
> 	(parse_xml_btrace_etm_config_source_config_cpu_etm_config): New.
> 	(parse_xml_btrace_etm_config_source_config): New.
> 	(parse_xml_btrace_etm_config_source_config_end): New
> 	(parse_xml_btrace_etm_config_sink_config): New.
> 	(parse_xml_btrace_etm_raw): New.
> 	(parse_xml_btrace_etm): New.
> 	(parse_xml_btrace_conf_etm): New.
> 	* btrace.dtd: add etm data and decoding parameters.
> 	* btrace-conf.dtd: add etm configuration.
> 	* remote.c (remote_target::btrace_sync_conf): add etm configuration.
> 	(remote_target::remote_btrace_maybe_reopen): warn if ETM was disabled.
> 	(remote_target::enable_btrace): add coresight etm.
> 	(_initialize_remote): add etm related packets.
> 
> gdb/doc/ChangeLog
> 
> 	* gdb.texinfo (General Query Packets) Document extending GDB remote
> 	protocol packets to support using ARM CoreSight traces for btrace.
> 
> gdbserver/ChangeLog
> 
> 	* configure.srv: add btrace for aarch64*-*-linux* and arm*-*-linux*.
> 	* linux-low.c (linux_low_encode_etm_config): New.
> 	(linux_process_target::read_btrace): encode CoreSight traces
> 	and related decoding parameters.
> 	(linux_process_target::read_btrace_conf): encode CoreSight
> 	configuration.
> 	* server.cc (handle_btrace_enable_etm): New.
> 	(handle_btrace_general_set): add etm handling.
> 	(handle_btrace_conf_general_set): add etm handling.
> 	(supported_btrace_packets): add etm related packets.

Likewise here: if there were no changes since v5 in the documentation
parts, I believe I already approved that.

Thanks.

  reply	other threads:[~2021-06-01 12:08 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-31 21:33 [PATCH v6 0/7] extend branch tracing to use ARM CoreSight traces Zied Guermazi
2021-05-31 21:33 ` [PATCH v6 1/7] configure gdb build system for supporting btrace on arm processors Zied Guermazi
2021-06-30 12:17   ` Luis Machado
2021-05-31 21:33 ` [PATCH v6 2/7] add btrace coresight related commands Zied Guermazi
2021-06-01 12:07   ` Eli Zaretskii
2021-06-01 15:47     ` Zied Guermazi
2021-06-30 12:26   ` Luis Machado
2021-05-31 21:33 ` [PATCH v6 3/7] start/stop btrace with coresight etm and parse etm buffer. nat independant Zied Guermazi
2021-06-22 14:59   ` Metzger, Markus T
2022-04-07 16:33     ` Zied Guermazi
2022-04-13  7:00       ` Metzger, Markus T
2022-05-10 12:58         ` Zied Guermazi
2022-05-10 13:21           ` Metzger, Markus T
2021-06-30 12:54   ` Luis Machado
2021-05-31 21:33 ` [PATCH v6 4/7] start/stop btrace with coresight etm and collect etm buffer on linux os Zied Guermazi
2021-06-23  8:00   ` Metzger, Markus T
2022-05-12 22:52     ` Zied Guermazi
2022-05-13  5:31       ` Metzger, Markus T
2022-06-12 21:02         ` Zied Guermazi
2022-06-20 12:52           ` Metzger, Markus T
2022-07-18 19:06             ` Zied Guermazi
2022-07-19  5:04               ` Metzger, Markus T
2022-07-21 22:20                 ` Zied Guermazi
2022-07-25 14:33                   ` Metzger, Markus T
2021-06-30 13:24   ` Luis Machado
2021-05-31 21:33 ` [PATCH v6 5/7] fix issue: gdb hangs in the command following a commad returning with TARGET_WAITKIND_NO_HISTORY Zied Guermazi
2021-06-23  8:08   ` Metzger, Markus T
2021-05-31 21:33 ` [PATCH v6 6/7] add support for coresight btrace via remote protocol Zied Guermazi
2021-06-01 12:08   ` Eli Zaretskii [this message]
2021-06-23 10:59   ` Metzger, Markus T
2021-05-31 21:33 ` [PATCH v6 7/7] adapt btrace testcases for arm target Zied Guermazi
2021-06-22 21:28   ` Lancelot SIX
2021-06-23 14:16   ` Metzger, Markus T
2022-05-13 11:08   ` Richard Earnshaw
2022-05-17  9:44     ` Zied Guermazi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83bl8p23ek.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=markus.t.metzger@intel.com \
    --cc=zied.guermazi@trande.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).