[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] Add support for generating a systemtap taps
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] Add support for generating a systemtap tapset static probes |
Date: |
Fri, 12 Nov 2010 13:53:20 +0000 |
On Fri, Nov 12, 2010 at 1:20 PM, Daniel P. Berrange <address@hidden> 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 <address@hidden>
> ---
> Makefile.target | 29 ++++++++++++-
> configure | 7 +++
> tracetool | 128 +++++++++++++++++++++++++++++++++++++++++++++++-------
> 3 files changed, 146 insertions(+), 18 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>