[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 02/20] trace: remove double-underscore in eve
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v5 02/20] trace: remove double-underscore in event name |
Date: |
Mon, 3 Oct 2016 14:25:46 +0100 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
On Wed, Sep 28, 2016 at 02:08:05PM +0100, Daniel P. Berrange wrote:
> If there is a double underscore in an event name, at least
> systemtap 3.0 will turn that into a single underscore. This
> in turn breaks the generated QEMU code that calls this
> event. The generated-tracers.h file calls a macro called
> QEMU_SPAPR_VSCSI__PROCESS_LOGIN, but the corresponding
> generated-tracers-dtrace.h file defines a macro called
> QEMU_SPAPR_VSCSI_PROCESS_LOGIN.
>
> It is unclear if this removal of double underscores is
> intended behaviour of systemtap or not. So rather than
> try to change the tracetool to generate the systemtap
> macro with the double underscore squished, it is
> simpler to just avoid this usage in the first place.
>
> Signed-off-by: Daniel P. Berrange <address@hidden>
> ---
> hw/scsi/spapr_vscsi.c | 2 +-
> hw/scsi/trace-events | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v5 02/20] trace: remove double-underscore in event name,
Stefan Hajnoczi <=