diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2017-08-01 14:33:56 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2017-08-01 14:33:56 +0100 |
| commit | 7d48cf8102a10e4a54333811bafb5eb566509268 (patch) | |
| tree | ce8ca13de13a97932e62489c79a949955ef1bb51 /hw/timer | |
| parent | 5619c179057e24195ff19c8fe6d6a6cbcb16ed28 (diff) | |
| parent | bd6952a391b6f2083d6597386f457f30044e32a3 (diff) | |
| download | focaccia-qemu-7d48cf8102a10e4a54333811bafb5eb566509268.tar.gz focaccia-qemu-7d48cf8102a10e4a54333811bafb5eb566509268.zip | |
Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' into staging
Pull request Fixes for inconsistencies in the trace event format strings, broken trace_event_get_state() usage, and handle_qmp_command() fix. # gpg: Signature made Tue 01 Aug 2017 14:16:05 BST # gpg: using RSA key 0x9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" # gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>" # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8 * remotes/stefanha/tags/tracing-pull-request: monitor: Reduce handle_qmp_command() tracing overhead trace-events: fix code style: print 0x before hex numbers checkpatch: check trace-events code style trace-events: fix code style: %# -> 0x% coding_style: add point about 0x in trace-events trace: add trace_event_get_state_backends() trace: add TRACE_<event>_BACKEND_DSTATE() trace: ensure unique function / variable names per .stp file trace: ensure .stp files are rebuilt if trace tool source changes Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/timer')
| -rw-r--r-- | hw/timer/trace-events | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/hw/timer/trace-events b/hw/timer/trace-events index 62c4e0dc75..640722b5d1 100644 --- a/hw/timer/trace-events +++ b/hw/timer/trace-events @@ -1,19 +1,19 @@ # See docs/devel/tracing.txt for syntax documentation. # hw/timer/slavio_timer.c -slavio_timer_get_out(uint64_t limit, uint32_t counthigh, uint32_t count) "limit %"PRIx64" count %x%08x" -slavio_timer_irq(uint32_t counthigh, uint32_t count) "callback: count %x%08x" -slavio_timer_mem_readl_invalid(uint64_t addr) "invalid read address %"PRIx64 -slavio_timer_mem_readl(uint64_t addr, uint32_t ret) "read %"PRIx64" = %08x" -slavio_timer_mem_writel(uint64_t addr, uint32_t val) "write %"PRIx64" = %08x" -slavio_timer_mem_writel_limit(unsigned int timer_index, uint64_t count) "processor %d user timer set to %016"PRIx64 +slavio_timer_get_out(uint64_t limit, uint32_t counthigh, uint32_t count) "limit 0x%"PRIx64" count 0x%x0x%08x" +slavio_timer_irq(uint32_t counthigh, uint32_t count) "callback: count 0x%x0x%08x" +slavio_timer_mem_readl_invalid(uint64_t addr) "invalid read address 0x%"PRIx64 +slavio_timer_mem_readl(uint64_t addr, uint32_t ret) "read 0x%"PRIx64" = 0x%08x" +slavio_timer_mem_writel(uint64_t addr, uint32_t val) "write 0x%"PRIx64" = 0x%08x" +slavio_timer_mem_writel_limit(unsigned int timer_index, uint64_t count) "processor %d user timer set to 0x%016"PRIx64 slavio_timer_mem_writel_counter_invalid(void) "not user timer" slavio_timer_mem_writel_status_start(unsigned int timer_index) "processor %d user timer started" slavio_timer_mem_writel_status_stop(unsigned int timer_index) "processor %d user timer stopped" slavio_timer_mem_writel_mode_user(unsigned int timer_index) "processor %d changed from counter to user timer" slavio_timer_mem_writel_mode_counter(unsigned int timer_index) "processor %d changed from user timer to counter" slavio_timer_mem_writel_mode_invalid(void) "not system timer" -slavio_timer_mem_writel_invalid(uint64_t addr) "invalid write address %"PRIx64 +slavio_timer_mem_writel_invalid(uint64_t addr) "invalid write address 0x%"PRIx64 # hw/timer/grlib_gptimer.c grlib_gptimer_enable(int id, uint32_t count) "timer:%d set count 0x%x and run" @@ -31,9 +31,9 @@ lm32_timer_hit(void) "timer hit" lm32_timer_irq_state(int level) "irq state %d" # hw/timer/milkymist-sysctl.c -milkymist_sysctl_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x" -milkymist_sysctl_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x" -milkymist_sysctl_icap_write(uint32_t value) "value %08x" +milkymist_sysctl_memory_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x" +milkymist_sysctl_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x" +milkymist_sysctl_icap_write(uint32_t value) "value 0x%08x" milkymist_sysctl_start_timer0(void) "Start timer0" milkymist_sysctl_stop_timer0(void) "Stop timer0" milkymist_sysctl_start_timer1(void) "Start timer1" |