xref: /openbmc/qemu/hw/timer/trace-events (revision e09484ef)
1# See docs/tracing.txt for syntax documentation.
2
3# hw/timer/slavio_timer.c
4slavio_timer_get_out(uint64_t limit, uint32_t counthigh, uint32_t count) "limit %"PRIx64" count %x%08x"
5slavio_timer_irq(uint32_t counthigh, uint32_t count) "callback: count %x%08x"
6slavio_timer_mem_readl_invalid(uint64_t addr) "invalid read address %"PRIx64
7slavio_timer_mem_readl(uint64_t addr, uint32_t ret) "read %"PRIx64" = %08x"
8slavio_timer_mem_writel(uint64_t addr, uint32_t val) "write %"PRIx64" = %08x"
9slavio_timer_mem_writel_limit(unsigned int timer_index, uint64_t count) "processor %d user timer set to %016"PRIx64
10slavio_timer_mem_writel_counter_invalid(void) "not user timer"
11slavio_timer_mem_writel_status_start(unsigned int timer_index) "processor %d user timer started"
12slavio_timer_mem_writel_status_stop(unsigned int timer_index) "processor %d user timer stopped"
13slavio_timer_mem_writel_mode_user(unsigned int timer_index) "processor %d changed from counter to user timer"
14slavio_timer_mem_writel_mode_counter(unsigned int timer_index) "processor %d changed from user timer to counter"
15slavio_timer_mem_writel_mode_invalid(void) "not system timer"
16slavio_timer_mem_writel_invalid(uint64_t addr) "invalid write address %"PRIx64
17
18# hw/timer/grlib_gptimer.c
19grlib_gptimer_enable(int id, uint32_t count) "timer:%d set count 0x%x and run"
20grlib_gptimer_disabled(int id, uint32_t config) "timer:%d Timer disable config 0x%x"
21grlib_gptimer_restart(int id, uint32_t reload) "timer:%d reload val: 0x%x"
22grlib_gptimer_set_scaler(uint32_t scaler, uint32_t freq) "scaler:0x%x freq: 0x%x"
23grlib_gptimer_hit(int id) "timer:%d HIT"
24grlib_gptimer_readl(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
25grlib_gptimer_writel(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
26
27# hw/timer/lm32_timer.c
28lm32_timer_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
29lm32_timer_memory_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
30lm32_timer_hit(void) "timer hit"
31lm32_timer_irq_state(int level) "irq state %d"
32
33# hw/timer/milkymist-sysctl.c
34milkymist_sysctl_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
35milkymist_sysctl_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
36milkymist_sysctl_icap_write(uint32_t value) "value %08x"
37milkymist_sysctl_start_timer0(void) "Start timer0"
38milkymist_sysctl_stop_timer0(void) "Stop timer0"
39milkymist_sysctl_start_timer1(void) "Start timer1"
40milkymist_sysctl_stop_timer1(void) "Stop timer1"
41milkymist_sysctl_pulse_irq_timer0(void) "Pulse IRQ Timer0"
42milkymist_sysctl_pulse_irq_timer1(void) "Pulse IRQ Timer1"
43
44# hw/timer/aspeed_timer.c
45aspeed_timer_ctrl_enable(uint8_t i, bool enable) "Timer %" PRIu8 ": %d"
46aspeed_timer_ctrl_external_clock(uint8_t i, bool enable) "Timer %" PRIu8 ": %d"
47aspeed_timer_ctrl_overflow_interrupt(uint8_t i, bool enable) "Timer %" PRIu8 ": %d"
48aspeed_timer_ctrl_pulse_enable(uint8_t i, bool enable) "Timer %" PRIu8 ": %d"
49aspeed_timer_set_ctrl2(uint32_t value) "Value: 0x%" PRIx32
50aspeed_timer_set_value(int timer, int reg, uint32_t value) "Timer %d register %d: 0x%" PRIx32
51aspeed_timer_read(uint64_t offset, unsigned size, uint64_t value) "From 0x%" PRIx64 ": of size %u: 0x%" PRIx64
52