]> git.proxmox.com Git - qemu.git/blob - trace/default.c
trace: avoid conditional code compilation during option parsing
[qemu.git] / trace / default.c
1 /*
2 * Default implementation for backend initialization from commandline.
3 *
4 * Copyright (C) 2011 LluĂ­s Vilanova <vilanova@ac.upc.edu>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2. See
7 * the COPYING file in the top-level directory.
8 */
9
10 #include "trace/control.h"
11
12
13 bool trace_backend_init(const char *file)
14 {
15 if (file) {
16 fprintf(stderr, "error: -trace file=...: "
17 "option not supported by the selected tracing backend\n");
18 return false;
19 }
20 return true;
21 }