trace: add glib 2.32+ static GMutex support
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 12 Dec 2013 14:50:11 +0000 (15:50 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 27 Jan 2014 14:49:39 +0000 (15:49 +0100)
commit05735a2a9cf37f5dc11ece998906431dda707258
tree27c2321ea48404f3b63c6516ab7d233ee35c290c
parentb618c28831eda2531acc5c1feb9dbb3047d19391
trace: add glib 2.32+ static GMutex support

The GStaticMutex API was deprecated in glib 2.32.  We cannot switch over
to GMutex unconditionally since we would drop support for older glib
versions.  But the deprecated API warnings during build are annoying so
use static GMutex when possible.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
trace/simple.c