On Fri, Nov 12, 2010 at 1:20 PM, Daniel P. Berrange <berra...@redhat.com> wrote: > 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 > > Signed-off-by: Daniel P. Berrange <berra...@redhat.com> > --- > Makefile.target | 29 ++++++++++++- > configure | 7 +++ > tracetool | 128 +++++++++++++++++++++++++++++++++++++++++++++++------- > 3 files changed, 146 insertions(+), 18 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com>