1. 12 Jul, 2016 1 commit
  2. 23 Feb, 2016 1 commit
  3. 09 Jun, 2014 1 commit
    • Lluís Vilanova's avatar
      trace: Multi-backend tracing · 5b808275
      Lluís Vilanova authored
      Adds support to compile QEMU with multiple tracing backends at the same time.
      
      For example, you can compile QEMU with:
      
        $ ./configure --enable-trace-backends=ftrace,dtrace
      
      Where 'ftrace' can be handy for having an in-flight record of events, and 'dtrace' can be later used to extract more information from the system.
      
      This patch allows having both available without recompiling QEMU.
      Signed-off-by: 's avatarLluís Vilanova <vilanova@ac.upc.edu>
      Signed-off-by: 's avatarStefan Hajnoczi <stefanha@redhat.com>
      5b808275
  4. 03 May, 2013 1 commit
    • Eiichi Tsukata's avatar
      trace: Add ftrace tracing backend · 781e9545
      Eiichi Tsukata authored
      This patch adds a ftrace tracing backend which sends trace event to
      ftrace marker file. You can effectively compare qemu trace data and
      kernel(especially, kvm.ko when using KVM) trace data.
      The ftrace backend is restricted to Linux only.
      
      To try out the ftrace backend:
      
       $ ./configure --trace-backend=ftrace
       $ make
      
      if you use KVM, enable kvm events in ftrace:
      
       # sudo echo 1 > /sys/kernel/debug/tracing/events/kvm/enable
      
      After running qemu by root user, you can get the trace:
      
       # cat /sys/kernel/debug/tracing/trace
      Signed-off-by: 's avatarEiichi Tsukata <eiichi.tsukata.xh@hitachi.com>
      Signed-off-by: 's avatarStefan Hajnoczi <stefanha@redhat.com>
      781e9545