diff mbox series

[PATCH-for-5.1,5/7] hw/timer/grlib_gptimer: Display frequency in decimal

Message ID 20200331105048.27989-6-f4bug@amsat.org
State New
Headers show
Series hw/sparc/leon3: Few fixes and disable HelenOS test | expand

Commit Message

Philippe Mathieu-Daudé March 31, 2020, 10:50 a.m. UTC
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 hw/timer/trace-events | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

KONRAD Frederic April 1, 2020, 10:59 a.m. UTC | #1
Le 3/31/20 à 12:50 PM, Philippe Mathieu-Daudé a écrit :
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>   hw/timer/trace-events | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/timer/trace-events b/hw/timer/trace-events
> index 29fda7870e..96a6c9138c 100644
> --- a/hw/timer/trace-events
> +++ b/hw/timer/trace-events
> @@ -19,7 +19,7 @@ slavio_timer_mem_writel_invalid(uint64_t addr) "invalid write address 0x%"PRIx64
>   grlib_gptimer_enable(int id, uint32_t count) "timer:%d set count 0x%x and run"
>   grlib_gptimer_disabled(int id, uint32_t config) "timer:%d Timer disable config 0x%x"
>   grlib_gptimer_restart(int id, uint32_t reload) "timer:%d reload val: 0x%x"
> -grlib_gptimer_set_scaler(uint32_t scaler, uint32_t freq) "scaler:0x%x freq: 0x%x"
> +grlib_gptimer_set_scaler(uint32_t scaler, uint32_t freq) "scaler:0x%x freq:%uHz"
>   grlib_gptimer_hit(int id) "timer:%d HIT"
>   grlib_gptimer_readl(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
>   grlib_gptimer_writel(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
> 

Reviewed-by: KONRAD Frederic <frederic.konrad@adacore.com>
diff mbox series

Patch

diff --git a/hw/timer/trace-events b/hw/timer/trace-events
index 29fda7870e..96a6c9138c 100644
--- a/hw/timer/trace-events
+++ b/hw/timer/trace-events
@@ -19,7 +19,7 @@  slavio_timer_mem_writel_invalid(uint64_t addr) "invalid write address 0x%"PRIx64
 grlib_gptimer_enable(int id, uint32_t count) "timer:%d set count 0x%x and run"
 grlib_gptimer_disabled(int id, uint32_t config) "timer:%d Timer disable config 0x%x"
 grlib_gptimer_restart(int id, uint32_t reload) "timer:%d reload val: 0x%x"
-grlib_gptimer_set_scaler(uint32_t scaler, uint32_t freq) "scaler:0x%x freq: 0x%x"
+grlib_gptimer_set_scaler(uint32_t scaler, uint32_t freq) "scaler:0x%x freq:%uHz"
 grlib_gptimer_hit(int id) "timer:%d HIT"
 grlib_gptimer_readl(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
 grlib_gptimer_writel(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"