11#include <lttng/lttng-export.h>
66 LTTNG_ACTION_STATUS_UNKNOWN = -2,
lttng_action_type
Trigger action type.
Definition action.h:31
enum lttng_action_type lttng_action_get_type(const struct lttng_action *action)
Returns the type of the trigger action action.
void lttng_action_destroy(struct lttng_action *action)
Destroys the trigger action action.
lttng_action_status
Return type of trigger action API functions.
Definition action.h:58
@ LTTNG_ACTION_TYPE_NOTIFY
Notify.
Definition action.h:33
@ LTTNG_ACTION_TYPE_UNKNOWN
Unknown (error).
Definition action.h:51
@ LTTNG_ACTION_TYPE_START_SESSION
Start recording session.
Definition action.h:36
@ LTTNG_ACTION_TYPE_SNAPSHOT_SESSION
Take recording session snapshot.
Definition action.h:45
@ LTTNG_ACTION_TYPE_STOP_SESSION
Stop recording session.
Definition action.h:39
@ LTTNG_ACTION_TYPE_ROTATE_SESSION
Rotate recording session snapshot.
Definition action.h:42
@ LTTNG_ACTION_TYPE_LIST
Trigger action list.
Definition action.h:48
@ LTTNG_ACTION_STATUS_INVALID
Unsatisfied precondition.
Definition action.h:69
@ LTTNG_ACTION_STATUS_UNSET
Not set.
Definition action.h:72
@ LTTNG_ACTION_STATUS_OK
Success.
Definition action.h:60
@ LTTNG_ACTION_STATUS_ERROR
Error.
Definition action.h:63