projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: fix formatting in gen-ust-events.cpp
[lttng-tools.git]
/
include
/
lttng
/
action
/
action.h
diff --git
a/include/lttng/action/action.h
b/include/lttng/action/action.h
index 03f2964f3ae08cef8c2d265a2bfaffade7e78217..6e303f4414527441e515754d2ff824cdf07dccea 100644
(file)
--- a/
include/lttng/action/action.h
+++ b/
include/lttng/action/action.h
@@
-8,6
+8,8
@@
#ifndef LTTNG_ACTION_H
#define LTTNG_ACTION_H
#ifndef LTTNG_ACTION_H
#define LTTNG_ACTION_H
+#include <lttng/lttng-export.h>
+
struct lttng_action;
#ifdef __cplusplus
struct lttng_action;
#ifdef __cplusplus
@@
-20,6
+22,8
@@
enum lttng_action_type {
LTTNG_ACTION_TYPE_START_SESSION = 1,
LTTNG_ACTION_TYPE_STOP_SESSION = 2,
LTTNG_ACTION_TYPE_ROTATE_SESSION = 3,
LTTNG_ACTION_TYPE_START_SESSION = 1,
LTTNG_ACTION_TYPE_STOP_SESSION = 2,
LTTNG_ACTION_TYPE_ROTATE_SESSION = 3,
+ LTTNG_ACTION_TYPE_SNAPSHOT_SESSION = 4,
+ LTTNG_ACTION_TYPE_LIST = 5,
};
enum lttng_action_status {
};
enum lttng_action_status {
@@
-35,13
+39,12
@@
enum lttng_action_status {
*
* Returns the type of an action on success, LTTNG_ACTION_TYPE_UNKNOWN on error.
*/
*
* Returns the type of an action on success, LTTNG_ACTION_TYPE_UNKNOWN on error.
*/
-extern enum lttng_action_type lttng_action_get_type(
- struct lttng_action *action);
+LTTNG_EXPORT extern enum lttng_action_type lttng_action_get_type(const struct lttng_action *action);
/*
* Destroy (frees) an action object.
*/
/*
* Destroy (frees) an action object.
*/
-extern void lttng_action_destroy(struct lttng_action *action);
+
LTTNG_EXPORT
extern void lttng_action_destroy(struct lttng_action *action);
#ifdef __cplusplus
}
#ifdef __cplusplus
}
This page took
0.023768 seconds
and
4
git commands to generate.