Tracing patches for QEMU 2.0
The following changes since commit 239618707637ec87eba8c452d2b2f75dc5ca20c7:
Merge remote-tracking branch 'remotes/kvm/uq/master' into staging (2014-03-11 19:39:17 +0000)
are available in the git repository at:
git://github.com/stefanha/qemu.git tags/tracing-pull-request
for you to fetch changes up to 84f3fe1b077a06ca50f85fa3ff696a8fe094623b:
trace: Fix build warnings for Win32 build (2014-03-12 14:19:58 +0100)
----------------------------------------------------------------
Tracing pull request
----------------------------------------------------------------
Peter Maydell (1):
trace: Fix build warnings for Win32 build
trace/control-internal.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
1.8.5.3
[Qemu-devel] [PULL 1/1] trace: Fix build warnings for Win32 build
From: Peter Maydell <[email protected]>
The Win32 build warns about trace/control-internal.h:
warning: 'trace_event_count' declared inline after being called
Fix this by simply reordering trace_event_id() and trace_event_count().
--- trace/control-internal.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
trace/control-internal.h +5 -5
@@ -16,15 +16,15 @@extern TraceEvent trace_events[]; -static inline TraceEvent *trace_event_id (TraceEventID id) +static inline TraceEventID trace_event_count (void ) { -assert (id <trace_event_count ()); -return &trace_events[id]; +return TRACE_EVENT_COUNT ; } -static inline TraceEventID trace_event_count (void ) +static inline TraceEvent *trace_event_id (TraceEventID id) { -return TRACE_EVENT_COUNT ; +assert (id <trace_event_count ()); +return &trace_events[id]; }static inline bool trace_event_is_pattern (const char *str)
Signature · 1 line
1.8.5.3
Peter Maydell
AppliedQuoted 4 lines · Stefan Hajnoczi
The following changes since commit
239618707637ec87eba8c452d2b2f75dc5ca20c7:Merge remote-tracking branch 'remotes/kvm/uq/master' into staging (2014-03-11 19:39:17 +0000)
Quoted 9 lines
are available in the git repository at:
git://github.com/stefanha/qemu.gittags/tracing-pull-requestfor you to fetch changes up to
84f3fe1b077a06ca50f85fa3ff696a8fe094623b:trace: Fix build warnings for Win32 build (2014-03-12 14:19:58 +0100)
Applied, thanks.
-- PMM