Skip to content

Commit 5180776

Browse files
philmdrth7680
authored andcommitted
accel/tcg: Remove trace events from trace-root.h
Commit d9bb58e ("tcg: move tcg related files into accel/tcg/ subdirectory") introduced accel/tcg/trace-events, so we don't need to use the root trace-events anymore. Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Alex Bennée <[email protected]> Message-Id: <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
1 parent 38fc4b1 commit 5180776

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

accel/tcg/cputlb.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include "qemu/atomic.h"
3434
#include "qemu/atomic128.h"
3535
#include "exec/translate-all.h"
36-
#include "trace/trace-root.h"
36+
#include "trace.h"
3737
#include "tb-hash.h"
3838
#include "internal.h"
3939
#ifdef CONFIG_PLUGIN

accel/tcg/trace-events

+4
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ exec_tb(void *tb, uintptr_t pc) "tb:%p pc=0x%"PRIxPTR
66
exec_tb_nocache(void *tb, uintptr_t pc) "tb:%p pc=0x%"PRIxPTR
77
exec_tb_exit(void *last_tb, unsigned int flags) "tb:%p flags=0x%x"
88

9+
# cputlb.c
10+
memory_notdirty_write_access(uint64_t vaddr, uint64_t ram_addr, unsigned size) "0x%" PRIx64 " ram_addr 0x%" PRIx64 " size %u"
11+
memory_notdirty_set_dirty(uint64_t vaddr) "0x%" PRIx64
12+
913
# translate-all.c
1014
translate_block(void *tb, uintptr_t pc, const void *tb_code) "tb:%p, pc:0x%"PRIxPTR", tb_code:%p"

trace-events

-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ find_ram_offset(uint64_t size, uint64_t offset) "size: 0x%" PRIx64 " @ 0x%" PRIx
4242
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
4343
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"
4444

45-
# accel/tcg/cputlb.c
46-
memory_notdirty_write_access(uint64_t vaddr, uint64_t ram_addr, unsigned size) "0x%" PRIx64 " ram_addr 0x%" PRIx64 " size %u"
47-
memory_notdirty_set_dirty(uint64_t vaddr) "0x%" PRIx64
48-
4945
# job.c
5046
job_state_transition(void *job, int ret, const char *legal, const char *s0, const char *s1) "job %p (ret: %d) attempting %s transition (%s-->%s)"
5147
job_apply_verb(void *job, const char *state, const char *verb, const char *legal) "job %p in state %s; applying verb %s (%s)"

0 commit comments

Comments
 (0)