Stefano Garzarella | d0fb965 | 2021-05-17 17:16:58 +0200 | [diff] [blame] | 1 | # See docs/devel/tracing.rst for syntax documentation. |
Philippe Mathieu-Daudé | 8b7a550 | 2020-08-05 15:02:20 +0200 | [diff] [blame] | 2 | |
| 3 | # balloon.c |
| 4 | # Since requests are raised via monitor, not many tracepoints are needed. |
| 5 | balloon_event(void *opaque, unsigned long addr) "opaque %p addr %lu" |
| 6 | |
| 7 | # ioport.c |
| 8 | cpu_in(unsigned int addr, char size, unsigned int val) "addr 0x%x(%c) value %u" |
| 9 | cpu_out(unsigned int addr, char size, unsigned int val) "addr 0x%x(%c) value %u" |
| 10 | |
| 11 | # memory.c |
Philippe Mathieu-Daudé | 9bb5405 | 2021-03-07 08:48:33 +0100 | [diff] [blame] | 12 | memory_region_ops_read(int cpu_index, void *mr, uint64_t addr, uint64_t value, unsigned size, const char *name) "cpu %d mr %p addr 0x%"PRIx64" value 0x%"PRIx64" size %u name '%s'" |
| 13 | memory_region_ops_write(int cpu_index, void *mr, uint64_t addr, uint64_t value, unsigned size, const char *name) "cpu %d mr %p addr 0x%"PRIx64" value 0x%"PRIx64" size %u name '%s'" |
Philippe Mathieu-Daudé | 8b7a550 | 2020-08-05 15:02:20 +0200 | [diff] [blame] | 14 | memory_region_subpage_read(int cpu_index, void *mr, uint64_t offset, uint64_t value, unsigned size) "cpu %d mr %p offset 0x%"PRIx64" value 0x%"PRIx64" size %u" |
| 15 | memory_region_subpage_write(int cpu_index, void *mr, uint64_t offset, uint64_t value, unsigned size) "cpu %d mr %p offset 0x%"PRIx64" value 0x%"PRIx64" size %u" |
| 16 | memory_region_ram_device_read(int cpu_index, void *mr, uint64_t addr, uint64_t value, unsigned size) "cpu %d mr %p addr 0x%"PRIx64" value 0x%"PRIx64" size %u" |
| 17 | memory_region_ram_device_write(int cpu_index, void *mr, uint64_t addr, uint64_t value, unsigned size) "cpu %d mr %p addr 0x%"PRIx64" value 0x%"PRIx64" size %u" |
Peter Xu | fcb3ab3 | 2021-08-16 21:37:06 -0400 | [diff] [blame] | 18 | memory_region_sync_dirty(const char *mr, const char *listener, int global) "mr '%s' listener '%s' synced (global=%d)" |
Philippe Mathieu-Daudé | 8b7a550 | 2020-08-05 15:02:20 +0200 | [diff] [blame] | 19 | flatview_new(void *view, void *root) "%p (root %p)" |
| 20 | flatview_destroy(void *view, void *root) "%p (root %p)" |
| 21 | flatview_destroy_rcu(void *view, void *root) "%p (root %p)" |
Hyman Huang(黄勇) | 63b41db | 2021-06-29 16:01:19 +0000 | [diff] [blame] | 22 | global_dirty_changed(unsigned int bitmask) "bitmask 0x%"PRIx32 |
Philippe Mathieu-Daudé | 8b7a550 | 2020-08-05 15:02:20 +0200 | [diff] [blame] | 23 | |
Alex Bennée | d44fe13 | 2024-07-05 09:40:10 +0100 | [diff] [blame] | 24 | # physmem.c |
| 25 | address_space_map(void *as, uint64_t addr, uint64_t len, bool is_write, uint32_t attrs) "as:%p addr 0x%"PRIx64":%"PRIx64" write:%d attrs:0x%x" |
| 26 | find_ram_offset(uint64_t size, uint64_t offset) "size: 0x%" PRIx64 " @ 0x%" PRIx64 |
| 27 | find_ram_offset_loop(uint64_t size, uint64_t candidate, uint64_t offset, uint64_t next, uint64_t mingap) "trying size: 0x%" PRIx64 " @ 0x%" PRIx64 ", offset: 0x%" PRIx64" next: 0x%" PRIx64 " mingap: 0x%" PRIx64 |
| 28 | ram_block_discard_range(const char *rbname, void *hva, size_t length, bool need_madvise, bool need_fallocate, int ret) "%s@%p + 0x%zx: madvise: %d fallocate: %d ret: %d" |
| 29 | |
Philippe Mathieu-Daudé | fc78f56 | 2023-10-04 11:06:16 +0200 | [diff] [blame] | 30 | # cpus.c |
Daniel P. Berrangé | 8af3f5c | 2021-04-15 14:33:51 +0100 | [diff] [blame] | 31 | vm_stop_flush_all(int ret) "ret %d" |
| 32 | |
Philippe Mathieu-Daudé | 8b7a550 | 2020-08-05 15:02:20 +0200 | [diff] [blame] | 33 | # vl.c |
| 34 | vm_state_notify(int running, int reason, const char *reason_str) "running %d reason %d (%s)" |
| 35 | load_file(const char *name, const char *path) "name %s location %s" |
| 36 | runstate_set(int current_state, const char *current_state_str, int new_state, const char *new_state_str) "current_run_state %d (%s) new_state %d (%s)" |
| 37 | system_wakeup_request(int reason) "reason=%d" |
| 38 | qemu_system_shutdown_request(int reason) "reason=%d" |
| 39 | qemu_system_powerdown_request(void) "" |
Hyman Huang(黄勇) | baa6098 | 2022-06-26 01:38:35 +0800 | [diff] [blame] | 40 | |
| 41 | #dirtylimit.c |
| 42 | dirtylimit_state_initialize(int max_cpus) "dirtylimit state initialize: max cpus %d" |
| 43 | dirtylimit_state_finalize(void) |
| 44 | dirtylimit_throttle_pct(int cpu_index, uint64_t pct, int64_t time_us) "CPU[%d] throttle percent: %" PRIu64 ", throttle adjust time %"PRIi64 " us" |
| 45 | dirtylimit_set_vcpu(int cpu_index, uint64_t quota) "CPU[%d] set dirty page rate limit %"PRIu64 |
| 46 | dirtylimit_vcpu_execute(int cpu_index, int64_t sleep_time_us) "CPU[%d] sleep %"PRIi64 " us" |