LTTng control library C API
Loading...
Searching...
No Matches
clear.h
1/*
2 * SPDX-FileCopyrightText: 2019 Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 * SPDX-FileCopyrightText: 2019 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 *
5 * SPDX-License-Identifier: LGPL-2.1-only
6 *
7 */
8
9#ifndef LTTNG_CLEAR_H
10#define LTTNG_CLEAR_H
11
12#include <lttng/lttng-error.h>
13#include <lttng/lttng-export.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
25
127LTTNG_EXPORT extern enum lttng_error_code lttng_clear_session(const char *session_name,
128 struct lttng_clear_handle **handle);
129
131
132#ifdef __cplusplus
133}
134#endif
135
136#endif /* LTTNG_CLEAR_H */
lttng_error_code
General error codes.
Definition lttng-error.h:49
enum lttng_error_code lttng_clear_session(const char *session_name, struct lttng_clear_handle **handle)
Initiates a clearing operation of the recording session named session_name.
Recording session clearing handle (opaque type).