[U-Boot] [U-Boot,v5,5/6] cmd: iotrace: add dump trace command

Alexander Graf agraf at suse.de
Thu Jun 21 15:11:27 UTC 2018


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 at gmail.com>
>> Reviewed-by: Simon Glass <sjg at 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



Alex


More information about the U-Boot mailing list