🔙 Back to main site
LTTng control library C API
stable-2.14
stable-2.14
stable-2.15
stable-2.16
Main Page
Related Pages
Topics
Data Structures
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
16
extern
"C"
{
17
#endif
18
24
struct
lttng_clear_handle
;
25
120
LTTNG_EXPORT
extern
enum
lttng_error_code
lttng_clear_session
(
const
char
*session_name,
121
struct
lttng_clear_handle
**handle);
122
124
125
#ifdef __cplusplus
126
}
127
#endif
128
129
#endif
/* LTTNG_CLEAR_H */
lttng_error_code
lttng_error_code
General error codes.
Definition
lttng-error.h:49
lttng_clear_session
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.
lttng_clear_handle
Recording session clearing handle (opaque type).
lttng
clear.h
Generated by
1.9.8