qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 11/17] trace: provide mechanism for registeri


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [PATCH v4 11/17] trace: provide mechanism for registering trace events
Date: Thu, 22 Sep 2016 13:48:38 +0100
User-agent: Mutt/1.7.0 (2016-08-17)

On Thu, Sep 22, 2016 at 02:44:11PM +0200, Lluís Vilanova wrote:
> Daniel P Berrange writes:
> 
> > Remove the notion of there being a single global array
> > of trace events, by introducing a method for registering
> > groups of events.
> 
> > Signed-off-by: Daniel P. Berrange <address@hidden>
> 
> Except for the calls to module_call_init() (I did not check if they're all
> necessary and sufficient):

Every binary that can trigger tracepoints should have the module_call_init().
I'd done it for emulators, qemu-img, qemu-nbd, and qemu-io. I could tell
which need it, since they're the ones that need to link to the trace.o
files, otherwise you'll unresolved symbol errors. So I think what I have
is correct.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]