Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target-arm: Add trace events for the generic timers
Add some useful trace events for the ARM generic timers (notably the various register writes and the resulting IRQ line state). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-id: 1476294876-12340-3-git-send-email-peter.maydell@linaro.org
- Loading branch information
Showing
3 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# See docs/tracing.txt for syntax documentation. | ||
|
||
# target-arm/helper.c | ||
arm_gt_recalc(int timer, int irqstate, uint64_t nexttick) "gt recalc: timer %d irqstate %d next tick %" PRIx64 | ||
arm_gt_recalc_disabled(int timer) "gt recalc: timer %d irqstate 0 timer disabled" | ||
arm_gt_cval_write(int timer, uint64_t value) "gt_cval_write: timer %d value %" PRIx64 | ||
arm_gt_tval_write(int timer, uint64_t value) "gt_tval_write: timer %d value %" PRIx64 | ||
arm_gt_ctl_write(int timer, uint64_t value) "gt_ctl_write: timer %d value %" PRIx64 | ||
arm_gt_imask_toggle(int timer, int irqstate) "gt_ctl_write: timer %d IMASK toggle, new irqstate %d" | ||
arm_gt_cntvoff_write(uint64_t value) "gt_cntvoff_write: value %" PRIx64 |