mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
e4858974ec
A default implementation for backend-specific routines is provided in "trace/default.c", which backends can override by setting "trace_default=no" in "configure". Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
21 lines
528 B
C
21 lines
528 B
C
/*
|
|
* Default implementation for backend initialization from commandline.
|
|
*
|
|
* Copyright (C) 2011 Lluís Vilanova <vilanova@ac.upc.edu>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2. See
|
|
* the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#include "trace/control.h"
|
|
|
|
|
|
bool trace_backend_init(const char *file)
|
|
{
|
|
if (file) {
|
|
fprintf(stderr, "error: -trace file=...: "
|
|
"option not supported by the selected tracing backend\n");
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|