Add support for generating a systemtap tapset static probes
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 8 Nov 2010 19:33:08 +0000 (19:33 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Nov 2010 15:31:18 +0000 (09:31 -0600)
commit2834c3e0140c3b0ed4422909dfa0607b7213d95d
tree0fad835a8f7c742b07710793915c9dd2fcb92e82
parent4addb1127f6327c7ebcbd150a6b589e7677adc92
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.

* Makefile: Generate a qemu.stp file for systemtap
* tracetool: Support for generating systemtap tapsets

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