]> Git Repo - qemu.git/commitdiff
trace: remove use of QEMU specific types from trace probes
authorDaniel P. BerrangĂ© <[email protected]>
Thu, 8 Mar 2018 15:55:23 +0000 (15:55 +0000)
committerStefan Hajnoczi <[email protected]>
Mon, 12 Mar 2018 11:10:20 +0000 (11:10 +0000)
Any compound structs / unions / etc, should always be declared as
'void *' pointers, since it cannot be assumed that trace backends
are able to resolve QEMU typedefs.

Signed-off-by: Daniel P. BerrangĂ© <[email protected]>
Message-id: 20180308155524[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
trace-events

index 89fcad0fd13cb9d80d9183fbee3a520438f47958..855b0ab2402da2ece9951cac276ce75f094882a3 100644 (file)
@@ -68,9 +68,9 @@ memory_region_tb_read(int cpu_index, uint64_t addr, uint64_t value, unsigned siz
 memory_region_tb_write(int cpu_index, uint64_t addr, uint64_t value, unsigned size) "cpu %d addr 0x%"PRIx64" value 0x%"PRIx64" size %u"
 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"
 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"
-flatview_new(FlatView *view, MemoryRegion *root) "%p (root %p)"
-flatview_destroy(FlatView *view, MemoryRegion *root) "%p (root %p)"
-flatview_destroy_rcu(FlatView *view, MemoryRegion *root) "%p (root %p)"
+flatview_new(void *view, void *root) "%p (root %p)"
+flatview_destroy(void *view, void *root) "%p (root %p)"
+flatview_destroy_rcu(void *view, void *root) "%p (root %p)"
 
 # gdbstub.c
 gdbstub_op_start(const char *device) "Starting gdbstub using device %s"
This page took 0.039918 seconds and 4 git commands to generate.