[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [ltt-dev] [PATCH 2/3] trace: [ust] Do not use 'm' in ev
From: |
P DUMAS |
Subject: |
Re: [Qemu-devel] [ltt-dev] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros) |
Date: |
Tue, 20 Sep 2011 09:03:53 -0400 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* Stefan Hajnoczi (address@hidden) wrote:
> On Fri, Sep 16, 2011 at 06:59:38PM +0200, Lluís Vilanova wrote:
> > Signed-off-by: Lluís Vilanova <address@hidden>
> > ---
> > trace-events | 4 ++--
> > 1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/trace-events b/trace-events
> > index 9d1fbbb..b653d70 100644
> > --- a/trace-events
> > +++ b/trace-events
> > @@ -418,8 +418,8 @@ milkymist_pfpu_pulse_irq(void) "Pulse IRQ"
> > # hw/milkymist-softusb.c
> > milkymist_softusb_memory_read(uint32_t addr, uint32_t value) "addr %08x
> > value %08x"
> > milkymist_softusb_memory_write(uint32_t addr, uint32_t value) "addr %08x
> > value %08x"
> > -milkymist_softusb_mevt(uint8_t m) "m %d"
> > -milkymist_softusb_kevt(uint8_t m) "m %d"
> > +milkymist_softusb_mevt(uint8_t _m) "m %d"
> > +milkymist_softusb_kevt(uint8_t _m) "m %d"
>
> The LTTng community has been very responsive in addressing namespace
> issues with libust. Let's post more details and see if it can be fixed
> in libust.
>
> Could you please post your gcc and libust versions?
>
> I have not been able to reproduce the problem on Debian libust-dev
> 0.15-3. My gcc version is Debian gcc 4.6.1-4.
>
> Here is the test program:
>
> #include <stdint.h>
> #include <ust/tracepoint.h>
>
> DECLARE_TRACE(ust_milkymist_softusb_mevt, TP_PROTO(uint8_t m),
> TP_ARGS(m));
>
> int main(int argc, char **argv)
> {
> return 0;
> }
>
> I see no warning or error related to the 'm' argument name.
I remember fixing that for trace_mark() instrumentation in UST 0.x ages
ago (ok, probably last winter). I think simply updating to a new UST
version will fix the issue.
Best regards,
Mathieu
>
> Stefan
>
> _______________________________________________
> ltt-dev mailing list
> address@hidden
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
- [Qemu-devel] [PATCH 1/3] trace: Fix print format for "mipsnet_write", Lluís Vilanova, 2011/09/16
- [Qemu-devel] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros), Lluís Vilanova, 2011/09/16
- Re: [Qemu-devel] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros), Stefan Hajnoczi, 2011/09/20
- Re: [Qemu-devel] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros), Lluís Vilanova, 2011/09/20
- Re: [Qemu-devel] [ltt-dev] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros), Mathieu Desnoyers, 2011/09/20
- Re: [Qemu-devel] [ltt-dev] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros), Stefan Hajnoczi, 2011/09/20
- Re: [Qemu-devel] [ltt-dev] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros), Lluís Vilanova, 2011/09/20
- Re: [Qemu-devel] [ltt-dev] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros), Mathieu Desnoyers, 2011/09/20
- Re: [Qemu-devel] [ltt-dev] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros), Mathieu Desnoyers, 2011/09/20
- Re: [Qemu-devel] [ltt-dev] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros), Stefan Hajnoczi, 2011/09/21
- Re: [Qemu-devel] [ltt-dev] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros),
P DUMAS <=
- Re: [Qemu-devel] [ltt-dev] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros), Mathieu Desnoyers, 2011/09/20
Re: [Qemu-devel] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros), Stefan Hajnoczi, 2011/09/20
[Qemu-devel] [PATCH 3/3] trace: [ust] Do not use zero-length format strings (avoid compiler warning), Lluís Vilanova, 2011/09/16
Re: [Qemu-devel] [PATCH 1/3] trace: Fix print format for "mipsnet_write", Stefan Hajnoczi, 2011/09/20