Adds events to trace guest code execution. Events with additional info are disabled by default to minimize overheads, since that additional information might not be necessarily needed.
Signed-off-by: Lluís Vilanova <vilan...@ac.upc.edu> --- Lluís Vilanova (7): trace: Add event "guest_bbl_before" trace: Add event "guest_inst_before" trace: Add event "guest_inst_info_before" tcg: Add support for "inlining" regions of code trace: Add event "guest_bbl_after" trace: Add event "guest_inst_after" trace: Add event "guest_inst_info_after" accel/tcg/translator.c | 104 ++++++++++++++++++++++++++++ include/exec/translator.h | 22 ++++++ include/qemu/log.h | 1 include/qemu/typedefs.h | 1 tcg/tcg-op.c | 2 + tcg/tcg-op.h | 40 +++++++++++ tcg/tcg-opc.h | 3 + tcg/tcg.c | 166 +++++++++++++++++++++++++++++++++++++++++++++ tcg/tcg.h | 23 ++++++ trace-events | 55 +++++++++++++++ util/log.c | 2 + 11 files changed, 418 insertions(+), 1 deletion(-) To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi <stefa...@redhat.com>