projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: crash when sending data_pending to an active session
[lttng-tools.git]
/
include
/
lttng
/
handle.h
diff --git
a/include/lttng/handle.h
b/include/lttng/handle.h
index 10ec82c62f604c6d7bef5a2fdc3fa9502b5e8589..14a0e54072a0fb570a7c61ad5cd1f01a056f5c14 100644
(file)
--- a/
include/lttng/handle.h
+++ b/
include/lttng/handle.h
@@
-9,6
+9,7
@@
#define LTTNG_HANDLE_H
#include <lttng/domain.h>
#define LTTNG_HANDLE_H
#include <lttng/domain.h>
+#include <lttng/lttng-export.h>
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-19,7
+20,7
@@
extern "C" {
*
* The structures should be initialized to zero before use.
*/
*
* The structures should be initialized to zero before use.
*/
-#define LTTNG_HANDLE_PADDING1
16
+#define LTTNG_HANDLE_PADDING1 16
struct lttng_handle {
char session_name[LTTNG_NAME_MAX];
struct lttng_domain domain;
struct lttng_handle {
char session_name[LTTNG_NAME_MAX];
struct lttng_domain domain;
@@
-40,16
+41,15
@@
struct lttng_handle {
* Return a newly allocated handle that should be freed using
* lttng_destroy_handle. On error, NULL is returned.
*/
* Return a newly allocated handle that should be freed using
* lttng_destroy_handle. On error, NULL is returned.
*/
-extern struct lttng_handle *lttng_create_handle(const char *session_name,
- struct lttng_domain *domain);
+
LTTNG_EXPORT
extern struct lttng_handle *lttng_create_handle(const char *session_name,
+
struct lttng_domain *domain);
/*
* Destroy an handle that has been previously created with lttng_create_handle.
*
* It free the given pointer making it unusable.
*/
/*
* Destroy an handle that has been previously created with lttng_create_handle.
*
* It free the given pointer making it unusable.
*/
-extern void lttng_destroy_handle(struct lttng_handle *handle);
-
+LTTNG_EXPORT extern void lttng_destroy_handle(struct lttng_handle *handle);
#ifdef __cplusplus
}
#ifdef __cplusplus
}
This page took
0.02521 seconds
and
4
git commands to generate.