Re: [Qemu-devel] [PATCH v3 13/18] trace: dynamically allocate event IDs at runtime

2016-09-20 Thread Lluís Vilanova
Daniel P Berrange writes: > On Mon, Sep 19, 2016 at 08:05:12PM +0200, Lluís Vilanova wrote: >> Daniel P Berrange writes: >> >> > Instead of having the code generator assign event IDs and >> > event VCPU IDs, assign them when the events are registered >> > at runtime. This will allow us allow

Re: [Qemu-devel] [PATCH v3 13/18] trace: dynamically allocate event IDs at runtime

2016-09-20 Thread Daniel P. Berrange
On Mon, Sep 19, 2016 at 08:05:12PM +0200, Lluís Vilanova wrote: > Daniel P Berrange writes: > > > Instead of having the code generator assign event IDs and > > event VCPU IDs, assign them when the events are registered > > at runtime. This will allow us allow code to be generated > > from

Re: [Qemu-devel] [PATCH v3 13/18] trace: dynamically allocate event IDs at runtime

2016-09-19 Thread Lluís Vilanova
Daniel P Berrange writes: > Instead of having the code generator assign event IDs and > event VCPU IDs, assign them when the events are registered > at runtime. This will allow us allow code to be generated > from individual trace-events without having to figure out > globally unique numbering at

[Qemu-devel] [PATCH v3 13/18] trace: dynamically allocate event IDs at runtime

2016-09-19 Thread Daniel P. Berrange
Instead of having the code generator assign event IDs and event VCPU IDs, assign them when the events are registered at runtime. This will allow us allow code to be generated from individual trace-events without having to figure out globally unique numbering at build time. Signed-off-by: Daniel