]> git.proxmox.com Git - qemu.git/commit - configure
Add support for generating a systemtap tapset static probes
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 12 Nov 2010 13:20:25 +0000 (13:20 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Sun, 21 Nov 2010 15:16:56 +0000 (09:16 -0600)
commitc276b17da65b7ff01627722a1abf2b7a684c8fd8
tree731d8635937491bd822efb15a9d0681997344c0a
parentb3d08c029dd78ded5e35b74eaaa3d361821f83a7
Add support for generating a systemtap tapset static probes

This introduces generation of a qemu.stp/qemu-system-XXX.stp
files which provides tapsets with friendly names for static
probes & their arguments. Instead of

    probe process("qemu").mark("qemu_malloc") {
        printf("Malloc %d %p\n", $arg1, $arg2);
    }

It is now possible todo

    probe qemu.system.i386.qemu_malloc {
        printf("Malloc %d %p\n", size, ptr);
    }

There is one tapset defined per target arch, for both
user and system emulators.

* Makefile.target: Generate stp files for each target
* tracetool: Support for generating systemtap tapsets
* configure: Check for whether systemtap is available
  with the DTrace backend

Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile.target
configure
tracetool