8#ifndef LTTNG_ACTION_SNAPSHOT_SESSION_H
9#define LTTNG_ACTION_SNAPSHOT_SESSION_H
11#include <lttng/lttng-export.h>
18struct lttng_snapshot_output;
86 const char *session_name);
123 const char **session_name);
157 struct lttng_snapshot_output *output);
194 const struct lttng_snapshot_output **output);
enum lttng_action_status lttng_action_snapshot_session_set_output(struct lttng_action *action, struct lttng_snapshot_output *output)
Sets the recording session snapshot output of the “take recording session snapshot” trigger action ac...
enum lttng_action_status lttng_action_snapshot_session_get_rate_policy(const struct lttng_action *action, const struct lttng_rate_policy **policy)
Sets *policy to the rate policy of the “take recording session snapshot” trigger action action.
enum lttng_action_status lttng_action_snapshot_session_set_rate_policy(struct lttng_action *action, const struct lttng_rate_policy *policy)
Sets the rate policy of the “take recording session snapshot” trigger action action to policy.
enum lttng_action_status lttng_action_snapshot_session_get_output(const struct lttng_action *action, const struct lttng_snapshot_output **output)
Sets *output to the recording session snapshot output of the “take recording session snapshot” trigge...
struct lttng_action * lttng_action_snapshot_session_create(void)
Creates an initial “take recording session snapshot” trigger action.
enum lttng_action_status lttng_action_snapshot_session_set_session_name(struct lttng_action *action, const char *session_name)
Sets the target recording session name (of which to take a snapshot) of the “take recording session s...
enum lttng_action_status lttng_action_snapshot_session_get_session_name(const struct lttng_action *action, const char **session_name)
Sets *session_name to the target recording session name of the “take recording session snapshot” trig...
lttng_action_status
Return type of trigger action API functions.
Definition action.h:61
Trigger action rate policy (opaque type).