xemu/trace
Stefan Hajnoczi 30d940875d trace: use glib atomic int types
Juan reported that RHEL 6.4 hosts give compiler warnings because we use
unsigned int while glib prototypes use volatile gint in trace/simple.c.

  trace/simple.c:223: error: pointer targets in passing argument 1 of 'g_atomic_int_compare_and_exchange' differ in signedness

These variables are only accessed with glib atomic int functions so
let's play it by the book and use volatile gint.

Reported-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1360676045-9204-2-git-send-email-stefanha@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-12 16:26:43 -06:00
..
control.c trace: allow disabling events in events file 2012-11-16 13:12:13 +01:00
control.h trace: add "-trace events" argument to control initial state 2011-09-01 10:34:54 +01:00
default.c trace: add "-trace events" argument to control initial state 2011-09-01 10:34:54 +01:00
Makefile.objs Makefile: clean timestamp generation rule 2013-01-30 01:31:08 +02:00
simple.c trace: use glib atomic int types 2013-02-12 16:26:43 -06:00
simple.h trace: drop unused TraceBufferRecord->next_tbuf_idx field 2012-08-14 10:40:39 +01:00
stderr.c trace: Add wildcard trace event support 2011-11-01 14:12:15 +00:00
stderr.h trace: [stderr] add support for dynamically enabling/disabling events 2011-09-01 10:34:54 +01:00