From: "Metzger, Markus T" <markus.t.metzger@intel.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
"jan.kratochvil@redhat.com" <jan.kratochvil@redhat.com>,
"palves@redhat.com" <palves@redhat.com>,
"tromey@redhat.com" <tromey@redhat.com>,
"kettenis@gnu.org" <kettenis@gnu.org>
Subject: RE: [patch v5 02/12] cli, btrace: add btrace cli
Date: Thu, 13 Dec 2012 09:14:00 -0000 [thread overview]
Message-ID: <A78C989F6D9628469189715575E55B2307B3ED40@IRSMSX102.ger.corp.intel.com> (raw)
In-Reply-To: <8338zhopuk.fsf@gnu.org>
> -----Original Message-----
> From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Eli Zaretskii
> Sent: Friday, December 07, 2012 4:16 PM
Thanks for your review.
[...]
> > Add branch trace commands:
>
> Thanks. This will be documented at some point, yes?
Yes. I will start it shortly.
> > + add_cmd ("list", class_btrace, cmd_btrace_list, _("\
> > +List branch trace blocks.\n\n\
> > +Prints a list of all blocks for which branch trace is available.\n\
>
> "Print", not "prints", to be compatible with "List".
Fixed.
> > +With a /a modifier, addresses are included.\n\
> > +With a /f modifier, the function name is included (if available).\n\
>
> It is better to use active tense, not passive tense:
>
> With a /a modifier, include addresses.
> With a /f modifier, include function names (if available).
I changed this for all command texts.
> > +With a /l modifier, source lines are include (if available).\n\
> ^^^^^^^
> A typo.
Changed to active tense.
> > +With a /t modifier, prints the total number of trace blocks and stops.\n\
> ^^^^^^
> "print"
Fixed. Everywhere.
> > +Without any modifier, behaves as if /fl were specified.\n\n\
>
> By default, include function names and source lines.
Fixed.
> And I have a question: how to turn off all the optional print-outs?
> Is there a /no-f modifier or something?
No, there isn't. Everything is optional, except for the block number. If you wanted to turn off everything, you would get a list of integers, which would be fairly useless. You can get the total number of blocks using /t.
> > +Without arguments, the full list of blocks is listed.\n\
> > +With a range (<start>[-<end>]) argument, lists all blocks in that range.\n"),
>
> Again, use active tense, and "list" instead of "lists".
Fixed.
Regards,
Markus.
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
next prev parent reply other threads:[~2012-12-13 9:14 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 10:37 [patch v5 00/12] branch tracing support for Atom markus.t.metzger
2012-12-07 10:37 ` [patch v5 06/12] remote, btrace: add branch trace remote ops markus.t.metzger
2012-12-07 10:37 ` [patch v5 09/12] gdbserver, linux, btrace: add btrace support for linux-low markus.t.metzger
2012-12-07 10:38 ` [patch v5 01/12] thread, btrace: add generic branch trace support markus.t.metzger
2012-12-07 10:38 ` [patch v5 02/12] cli, btrace: add btrace cli markus.t.metzger
2012-12-07 15:16 ` Eli Zaretskii
2012-12-13 9:14 ` Metzger, Markus T [this message]
2012-12-07 10:38 ` [patch v5 03/12] linux, btrace: perf_event based branch tracing markus.t.metzger
2012-12-07 10:38 ` [patch v5 05/12] xml, btrace: define btrace xml document style markus.t.metzger
2012-12-07 10:38 ` [patch v5 07/12] btrace, doc: document remote serial protocol markus.t.metzger
2012-12-07 15:09 ` Eli Zaretskii
2012-12-13 8:43 ` Metzger, Markus T
2012-12-13 17:02 ` Eli Zaretskii
2012-12-13 17:09 ` Pedro Alves
2012-12-14 7:53 ` Metzger, Markus T
2012-12-07 10:38 ` [patch v5 04/12] linux, i386, amd64: enable btrace for 32bit and 64bit linux native markus.t.metzger
2012-12-07 10:38 ` [patch v5 12/12] btrace, x86: disable on some processors markus.t.metzger
2012-12-07 10:38 ` [patch v5 10/12] test, btrace: add branch tracing tests markus.t.metzger
2012-12-07 10:38 ` [patch v5 08/12] gdbserver, btrace: add generic btrace support markus.t.metzger
2012-12-07 10:39 ` [patch v5 11/12] test, btrace: more branch tracing tests markus.t.metzger
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=A78C989F6D9628469189715575E55B2307B3ED40@IRSMSX102.ger.corp.intel.com \
--to=markus.t.metzger@intel.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=kettenis@gnu.org \
--cc=palves@redhat.com \
--cc=tromey@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