xemu/trace
Stefan Weil 4552e41025 trace/simple: Replace asprintf by g_strdup_printf
asprintf is not available for all hosts. g_strdup_printf is
more portable and simplifies the code because if does not
need error handling.

The static variable does not need an explicit assignment to be NULL.

Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2012-08-14 13:19:57 +01:00
..
control.c trace: added ability to comment out events in the list 2012-07-19 11:30:37 +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
simple.c trace/simple: Replace asprintf by g_strdup_printf 2012-08-14 13:19:57 +01: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