qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/3] hw/gpio/avr_gpio.c: add tracing for read and writes


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 2/3] hw/gpio/avr_gpio.c: add tracing for read and writes
Date: Sat, 13 Mar 2021 16:41:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

On 3/11/21 2:55 PM, G S Niteesh Babu wrote:
> Added tracing for gpio read, write, and update output irq.
> 
> 1) trace_avr_gpio_update_ouput_irq
> 2) trace_avr_gpio_read
> 3) trace_avr_gpio_write
> 
> Signed-off-by: G S Niteesh Babu <niteesh.gs@gmail.com>
> ---
>  hw/gpio/avr_gpio.c   | 16 ++++++++++++----
>  hw/gpio/trace-events |  6 ++++++
>  2 files changed, 18 insertions(+), 4 deletions(-)

> +
> +# avr_gpio.c
> +avr_gpio_read(uint64_t offset, uint64_t r) "offset 0x%" PRIx64 " value 0x%" 
> PRIx64
> +avr_gpio_write(uint64_t offset, uint64_t value) "offset 0x%" PRIx64 " value 
> 0x%" PRIx64
> +avr_gpio_set(int64_t line, int64_t value) "line %" PRIi64 " value %" PRIi64

^ unused?

> +avr_gpio_update_output_irq(int64_t line, int64_t value) "pin %" PRIi64 " 
> value %" PRIi64
> 



reply via email to

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