Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Markus Metzger <markus.t.metzger@intel.com>
Cc: palves@redhat.com, gdb-patches@sourceware.org
Subject: Re: [PATCH 5/5] btrace: maintenance commands
Date: Tue, 23 Jun 2015 15:28:00 -0000	[thread overview]
Message-ID: <837fquh2bd.fsf@gnu.org> (raw)
In-Reply-To: <1435047418-21611-6-git-send-email-markus.t.metzger@intel.com>

> From: Markus Metzger <markus.t.metzger@intel.com>
> Cc: gdb-patches@sourceware.org, Eli Zaretskii <eliz@gnu.org>
> Date: Tue, 23 Jun 2015 10:16:58 +0200
> 
> Add maintenance commands that help debugging the btrace record target.

Thanks.

> +  add_setshow_boolean_cmd ("skip-pad", class_maintenance,
> +			   &maint_btrace_pt_skip_pad, _("\
> +Set whether PAD packets should be skipped in the btrace packet history."), _("\
> +Show whether PAD packets should be skipped in the btrace packet history."),_("\
> +When enabled, PAD packets are ignored when processing the trace to compute \
> +the btrace packet history.\n\

This line is too long to fit on a standard text terminal.  Is that
necessary?

> +This does not modify the already computed packet history.  Use 'maintenance \
> +btrace clear-packet-history' to clear and recompute the existing history."),

Same here (and in a few more places).

> +	   _("Prints the raw branch tracing data.\n\

I think we use "Print", not "Prints".  (Again, there are other doc
strings in the patch with the same issue.)

> +execution history for the @samp{record btrace} command.  The
> +information printed as well as the format depends on the btrace
> +recording format.

"Both the information and the format in which it is printed depend
on ..."

> +@table @code
> +@item bts
> +For the BTS recording format, it prints a list of blocks of sequential

"print" instead of "it prints" -- this matches the style of the
previous sentences.

> +code.  For each block, the following information is printed:
> +
> +@table @code

@code is inappropriate here, I suggest to use @asis instead.

> +@item The block number

I'd lose the "The" part, it's redundant in a table.

The documentation parts are OK with those fixed.


  reply	other threads:[~2015-06-23 15:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-23  8:22 [PATCH 0/5] Support Intel(R) Processor Trace Markus Metzger
2015-06-23  8:22 ` [PATCH 1/5] configure: check for libipt Markus Metzger
2015-06-30 12:56   ` Pedro Alves
2015-06-30 14:54     ` Metzger, Markus T
2015-06-30 15:01       ` Pedro Alves
2015-06-23  8:22 ` [PATCH 5/5] btrace: maintenance commands Markus Metzger
2015-06-23 15:28   ` Eli Zaretskii [this message]
2015-06-24  7:05     ` Metzger, Markus T
2015-06-24 14:38       ` Eli Zaretskii
2015-06-30 12:57   ` Pedro Alves
2015-06-23  8:22 ` [PATCH 4/5] btrace: store raw btrace data Markus Metzger
2015-06-30 12:56   ` Pedro Alves
2015-06-23  8:22 ` [PATCH 3/5] btrace, linux: use data_size and data_offset Markus Metzger
2015-06-30 12:56   ` Pedro Alves
2015-06-23  8:23 ` [PATCH 2/5] btrace: support Intel(R) Processor Trace Markus Metzger
2015-06-23 15:32   ` Eli Zaretskii
2015-06-30 12:56   ` Pedro Alves
2015-06-30 14:54     ` Metzger, Markus T
2015-06-30 15:08       ` Pedro Alves
2015-07-01  8:39         ` Metzger, Markus T

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=837fquh2bd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=markus.t.metzger@intel.com \
    --cc=palves@redhat.com \
    /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