public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot,v5,5/6] cmd: iotrace: add dump trace command
Date: Thu, 21 Jun 2018 11:20:53 -0400	[thread overview]
Message-ID: <20180621152053.GV4609@bill-the-cat.ec.rr.com> (raw)
In-Reply-To: <d167461f-b0be-9080-a09a-4b6c80ee947a@suse.de>

On Thu, Jun 21, 2018 at 05:11:27PM +0200, Alexander Graf wrote:

> On 06/19/2018 08:41 PM, Tom Rini wrote:
> >On Fri, Jun 08, 2018 at 08:53:26PM +0300, Ramon Fried wrote:
> >
> >>Add dump trace command which dump all trace
> >>buffer content in a much more readable fashion
> >>than md.
> >>
> >>Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
> >>Reviewed-by: Simon Glass <sjg@chromium.org>
> >Applied to u-boot/master, thanks!
> 
> This fails to compile for me:
> 
> cmd/iotrace.c: In function ‘do_print_trace’:
> cmd/iotrace.c:42:2: error: ‘for’ loop initial declarations are only allowed
> in C99 mode
>   for (int i = 0; i < count; i++) {
>   ^
> cmd/iotrace.c:42:2: note: use option -std=c99 or -std=gnu99 to compile your
> code
> scripts/Makefile.build:278: recipe for target 'cmd/iotrace.o' failed

Yes.  I didn't notice this part in time, and I've posted a patch to
start using -std=gnu11 globally as that makes more sense to me than
reworking this (and a few other ARM-specific areas) that make use of
this construct.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180621/9b575672/attachment.sig>

  reply	other threads:[~2018-06-21 15:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-08 17:53 [U-Boot] [PATCH v5 0/6] Iotrace improvements Ramon Fried
2018-06-08 17:53 ` [U-Boot] [PATCH v5 1/6] cmd: iotrace: add set region command Ramon Fried
2018-06-19 18:41   ` [U-Boot] [U-Boot,v5,1/6] " Tom Rini
2018-06-08 17:53 ` [U-Boot] [PATCH v5 2/6] iotrace: add IO region limit Ramon Fried
2018-06-19 18:41   ` [U-Boot] [U-Boot,v5,2/6] " Tom Rini
2018-06-08 17:53 ` [U-Boot] [PATCH v5 3/6] common: iotrace: add timestamp to iotrace records Ramon Fried
2018-06-19 18:41   ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-06-08 17:53 ` [U-Boot] [PATCH v5 4/6] iotrace: move record definitons to header file Ramon Fried
2018-06-19 18:41   ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-06-08 17:53 ` [U-Boot] [PATCH v5 5/6] cmd: iotrace: add dump trace command Ramon Fried
2018-06-19 18:41   ` [U-Boot] [U-Boot,v5,5/6] " Tom Rini
2018-06-21 15:11     ` Alexander Graf
2018-06-21 15:20       ` Tom Rini [this message]
2018-06-21 15:26         ` Alexander Graf
2018-06-08 17:53 ` [U-Boot] [PATCH v5 6/6] iotrace: fix behaviour when buffer is full Ramon Fried
2018-06-19 18:41   ` [U-Boot] [U-Boot, v5, " Tom Rini

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=20180621152053.GV4609@bill-the-cat.ec.rr.com \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.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