trace-events: Fix attribution of trace points to source
Some trace points are attributed to the wrong source file. Happens when we neglect to update trace-events for code motion, or add events in the wrong place, or misspell the file name. Clean up with help of scripts/cleanup-trace-events.pl. Funnies requiring manual post-processing: * accel/tcg/cputlb.c trace points are in trace-events. * block.c and blockdev.c trace points are in block/trace-events. * hw/block/nvme.c uses the preprocessor to hide its trace point use from cleanup-trace-events.pl. * hw/tpm/tpm_spapr.c uses pseudo trace point tpm_spapr_show_buffer to guard debug code. * include/hw/xen/xen_common.h trace points are in hw/xen/trace-events. * linux-user/trace-events abbreviates a tedious list of filenames to */signal.c. * net/colo-compare and net/filter-rewriter.c use pseudo trace points colo_compare_miscompare and colo_filter_rewriter_debug to guard debug code. Signed-off-by:Markus Armbruster <armbru@redhat.com> Reviewed-by:
Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20200806141334.3646302-5-armbru@redhat.com Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>
Showing
- block/trace-events 2 additions, 3 deletionsblock/trace-events
- hw/block/trace-events 1 addition, 1 deletionhw/block/trace-events
- hw/char/trace-events 1 addition, 1 deletionhw/char/trace-events
- hw/display/trace-events 3 additions, 1 deletionhw/display/trace-events
- hw/hyperv/trace-events 1 addition, 1 deletionhw/hyperv/trace-events
- hw/mips/trace-events 1 addition, 1 deletionhw/mips/trace-events
- hw/misc/trace-events 5 additions, 3 deletionshw/misc/trace-events
- hw/ppc/trace-events 2 additions, 4 deletionshw/ppc/trace-events
- hw/riscv/trace-events 1 addition, 1 deletionhw/riscv/trace-events
- hw/rtc/trace-events 1 addition, 1 deletionhw/rtc/trace-events
- hw/tpm/trace-events 1 addition, 1 deletionhw/tpm/trace-events
- hw/usb/trace-events 3 additions, 1 deletionhw/usb/trace-events
- hw/vfio/trace-events 6 additions, 4 deletionshw/vfio/trace-events
- hw/virtio/trace-events 1 addition, 1 deletionhw/virtio/trace-events
- migration/trace-events 19 additions, 17 deletionsmigration/trace-events
- target/riscv/trace-events 1 addition, 1 deletiontarget/riscv/trace-events
- trace-events 3 additions, 2 deletionstrace-events
- ui/trace-events 3 additions, 3 deletionsui/trace-events
- util/trace-events 3 additions, 1 deletionutil/trace-events
Loading
Please register or sign in to comment