1. 20 Jun, 2016 1 commit
  2. 07 Jan, 2016 2 commits
    • Stefan Hajnoczi's avatar
      trace: add make dependencies on tracetool source · cef517ca
      Stefan Hajnoczi authored
      Patches that change tracetool can break the build if old build output
      files are lying around.
      
      This happens because the Makefile does not specify dependencies on
      tracetool.  The build will use old object files that do not match the
      current source code.
      Signed-off-by: 's avatarStefan Hajnoczi <stefanha@redhat.com>
      cef517ca
    • Stefan Hajnoczi's avatar
      trace: fix make foo-timestamp rules · 9967e4fe
      Stefan Hajnoczi authored
      The Makefile uses intermediate timestamp files to avoid rebuilding if
      tracetool output is unchanged.
      
      Timestamps are implemented incorrectly.  This was fixed for rules.mak in
      commit 4b25966a ("rules.mak: cleanup
      config generation rules") but never fixed in trace/Makefile.objs.
      
      The problem with the old timestamp implementation was that make doesn't
      notice the updated file modification time until the next time it is run.
      It was necessary to run make twice in a row to achieve a full rebuild.
      Signed-off-by: 's avatarStefan Hajnoczi <stefanha@redhat.com>
      9967e4fe
  3. 26 Sep, 2014 1 commit
  4. 09 Sep, 2014 1 commit
  5. 12 Aug, 2014 4 commits
  6. 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
  7. 07 May, 2014 1 commit
  8. 19 Feb, 2014 1 commit
  9. 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
  10. 28 Mar, 2013 2 commits
  11. 29 Jan, 2013 1 commit
  12. 12 Jan, 2013 3 commits
  13. 23 Dec, 2012 1 commit