1. 15 Oct, 2014 1 commit
  2. 12 Aug, 2014 2 commits
    • Lluís Vilanova's avatar
      trace: [tcg] Define TCG tracing helper routines · 341ea691
      Lluís Vilanova authored
      Generates file "trace/generated-helpers.c" with TCG helper definitions to trace
      events in guest code at execution time.
      
      The helpers ('helper_trace_${event}_exec_proxy') cast the TCG-compatible native
      argument types to their original types (as defined in "trace-events") and call
      the tracing routine ('trace_${event}_exec').
      Signed-off-by: default avatarLluís Vilanova <vilanova@ac.upc.edu>
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      341ea691
    • Stefan Hajnoczi's avatar
      trace: install simpletrace SystemTap tapset · e0b2fd0e
      Stefan Hajnoczi authored
      The simpletrace SystemTap tapset outputs simpletrace binary traces for
      SystemTap probes.  This is useful because SystemTap has no default way
      to format or store traces.  The simpletrace SystemTap tapset provides an
      easy way to store traces.
      
      The simpletrace.py tool or custom Python scripts using the
      simpletrace.py API can analyze SystemTap these traces:
      
        $ ./configure --enable-trace-backends=dtrace ...
        $ make && make install
        $ stap -e 'probe qemu.system.x86_64.simpletrace.* {}' \
               -c qemu-system-x86_64 >/tmp/trace.out
        $ scripts/simpletrace.py --no-header trace-events /tmp/trace.out
        g_malloc 4.531 pid=15519 size=0xb ptr=0x7f8639c10470
        g_malloc 3.264 pid=15519 size=0x300 ptr=0x7f8639c10490
        g_free 5.155 pid=15519 ptr=0x7f8639c0f7b0
      
      Note that, unlike qemu-system-x86_64.stp and
      qemu-system-x86_64.stp-installed, only one file is needed since the
      simpletrace SystemTap tapset does not reference the QEMU binary by path.
      Therefore it doesn't matter whether the QEMU binary is installed or not.
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      e0b2fd0e
  3. 01 Jul, 2014 1 commit
  4. 24 Jun, 2014 1 commit
  5. 19 Jun, 2014 1 commit
  6. 16 Jun, 2014 1 commit
  7. 10 Jun, 2014 1 commit
  8. 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: default avatarLluís Vilanova <vilanova@ac.upc.edu>
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      5b808275
  9. 08 May, 2014 4 commits
  10. 07 May, 2014 1 commit
  11. 20 Feb, 2014 3 commits
  12. 16 Oct, 2013 2 commits
  13. 14 Jun, 2013 3 commits
  14. 11 Jun, 2013 2 commits
    • Andreas Färber's avatar
      dump: Drop qmp_dump_guest_memory() stub and build for all targets · 2a78636b
      Andreas Färber authored
      qmp_dump_guest_memory() calls dump_init() and returns an Error when
      cpu_get_dump_info() returns an error, as done by the stub.
      So there is no need to have a stub for qmp_dump_guest_memory().
      
      Enable the documentation of the always-present dump-guest-memory command.
      
      That way we can drop CONFIG_HAVE_CORE_DUMP and leave configure
      completely out of the picture for target CPU features.
      Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
      2a78636b
    • Andreas Färber's avatar
      memory_mapping: Drop qemu_get_memory_mapping() stub · c22d8e04
      Andreas Färber authored
      dump.c:dump_init() never checked for the return code anyway.
      If paging is not enabled, it will fall back to an identity map.
      If paging is enabled and getting memory mapping list is not
      implemented, qemu_get_guest_memory_mapping() will return an error.
      
      Since the targets not implementing memory mapping also don't implement
      dump support, we will not reach this code today and can worry about
      changing cpu_paging_enabled() default when the need arises.
      
      This allows us to drop CONFIG_HAVE_GET_MEMORY_SUPPORT.
      Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
      c22d8e04
  15. 10 Jun, 2013 1 commit
  16. 01 May, 2013 1 commit
  17. 26 Apr, 2013 1 commit
  18. 24 Apr, 2013 1 commit
  19. 18 Apr, 2013 1 commit
  20. 01 Mar, 2013 1 commit
  21. 18 Feb, 2013 1 commit
  22. 26 Jan, 2013 1 commit
  23. 12 Jan, 2013 4 commits
  24. 02 Jan, 2013 1 commit
  25. 22 Dec, 2012 1 commit
  26. 19 Dec, 2012 2 commits