qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH 2/3] hw/sii9022: Add support for Silicon Image SII


From: Peter Maydell
Subject: Re: [Qemu-arm] [PATCH 2/3] hw/sii9022: Add support for Silicon Image SII9022
Date: Tue, 27 Feb 2018 10:29:20 +0000

On 27 February 2018 at 10:24, Peter Maydell <address@hidden> wrote:
> docs/devel/tracing.txt describes them, but basically:
>  * include "trace.h"
>  * define trace events with a line for each in the trace-events
>    file for the subdirectory (basically a function prototype-ish
>    thing followed by a printf-style format string)
>  * call them like normal function calls with a trace_ prefix
>
> commit 1b640aa9292bc00beb441e97d862ba322a7ba18d is a recent one
> which converted some DRINTFs in hw/sd/sd.c to trace events.

...and you can test them most conveniently with the QEMU
-d argument: "-d trace:sii9022*" will enable tracing to stderr
of all trace events with names that begin 'sii9022'.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]