control.h (30e7d092b26146eb2abb77e0a0952aea012e36bf) control.h (2bfe11c8fac96db4f94abbe818fbc964a6744130)
1/*
2 * Interface for configuring and controlling the state of tracing events.
3 *
4 * Copyright (C) 2011-2016 Lluís Vilanova <vilanova@ac.upc.edu>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */

--- 225 unchanged lines hidden (view full) ---

234 *
235 * Record the name of the output file for the tracing backend.
236 * Exits if no selected backend does not support specifying the
237 * output file, and a non-NULL file was passed.
238 */
239void trace_init_file(const char *file);
240
241/**
1/*
2 * Interface for configuring and controlling the state of tracing events.
3 *
4 * Copyright (C) 2011-2016 Lluís Vilanova <vilanova@ac.upc.edu>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */

--- 225 unchanged lines hidden (view full) ---

234 *
235 * Record the name of the output file for the tracing backend.
236 * Exits if no selected backend does not support specifying the
237 * output file, and a non-NULL file was passed.
238 */
239void trace_init_file(const char *file);
240
241/**
242 * trace_init_vcpu:
243 * @vcpu: Added vCPU.
244 *
245 * Set initial dynamic event state for a hot-plugged vCPU.
246 */
247void trace_init_vcpu(CPUState *vcpu);
248
249/**
242 * trace_list_events:
243 *
244 * List all available events.
245 */
246void trace_list_events(void);
247
248/**
249 * trace_enable_events:

--- 14 unchanged lines hidden (view full) ---

264 * @optarg: A string argument of --trace command line argument
265 *
266 * Initialize tracing subsystem.
267 *
268 * Returns the filename to save trace to. It must be freed with g_free().
269 */
270char *trace_opt_parse(const char *optarg);
271
250 * trace_list_events:
251 *
252 * List all available events.
253 */
254void trace_list_events(void);
255
256/**
257 * trace_enable_events:

--- 14 unchanged lines hidden (view full) ---

272 * @optarg: A string argument of --trace command line argument
273 *
274 * Initialize tracing subsystem.
275 *
276 * Returns the filename to save trace to. It must be freed with g_free().
277 */
278char *trace_opt_parse(const char *optarg);
279
272/**
273 * trace_init_vcpu_events:
274 *
275 * Re-synchronize initial event state with vCPUs (which can be created after
276 * trace_init_events()).
277 *
278 * Precondition: event states won't be changed between trace_enable_events() and
279 * trace_init_vcpu_events() (e.g., through QMP).
280 */
281void trace_init_vcpu_events(void);
282
280
283
284#include "trace/control-internal.h"
285
286#endif /* TRACE__CONTROL_H */
281#include "trace/control-internal.h"
282
283#endif /* TRACE__CONTROL_H */