Re: [Qemu-devel] [PATCH v6 2/7] trace: Make trace_get_vcpu_event_count() inlinable

2017-01-12 Thread Lluís Vilanova
Richard Henderson writes: > On 12/28/2016 10:41 AM, Lluís Vilanova wrote: >> @@ -82,6 +83,10 @@ static inline bool >> trace_event_get_vcpu_state_dynamic(CPUState *vcpu, >> return trace_event_get_vcpu_state_dynamic_by_vcpu_id(vcpu, vcpu_id); >> } >> >> +static inline uint32_t trace_get_vcpu_event

Re: [Qemu-devel] [PATCH v6 2/7] trace: Make trace_get_vcpu_event_count() inlinable

2017-01-10 Thread Richard Henderson
On 12/28/2016 10:41 AM, Lluís Vilanova wrote: @@ -82,6 +83,10 @@ static inline bool trace_event_get_vcpu_state_dynamic(CPUState *vcpu, return trace_event_get_vcpu_state_dynamic_by_vcpu_id(vcpu, vcpu_id); } +static inline uint32_t trace_get_vcpu_event_count(void) +{ +return trace_next_

[Qemu-devel] [PATCH v6 2/7] trace: Make trace_get_vcpu_event_count() inlinable

2016-12-28 Thread Lluís Vilanova
Later patches will make use of it. Signed-off-by: Lluís Vilanova --- trace/control-internal.h |5 + trace/control.c |9 ++--- trace/control.h |2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/trace/control-internal.h b/trace/control-inter