X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Faction%2Fnotify-internal.hpp;fp=include%2Flttng%2Faction%2Fnotify-internal.hpp;h=c923019c31235e8426d24784c895620c9ee69aa4;hp=0000000000000000000000000000000000000000;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hpb=4878de5c7deb512bbdac4fdfc498907efa06fb7c diff --git a/include/lttng/action/notify-internal.hpp b/include/lttng/action/notify-internal.hpp new file mode 100644 index 000000000..c923019c3 --- /dev/null +++ b/include/lttng/action/notify-internal.hpp @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2017 Jérémie Galarneau + * + * SPDX-License-Identifier: LGPL-2.1-only + * + */ + +#ifndef LTTNG_ACTION_NOTIFY_INTERNAL_H +#define LTTNG_ACTION_NOTIFY_INTERNAL_H + +#include +#include + +struct lttng_action_notify { + struct lttng_action parent; + struct lttng_rate_policy *policy; +}; + +ssize_t lttng_action_notify_create_from_payload( + struct lttng_payload_view *view, + struct lttng_action **action); + +#endif /* LTTNG_ACTION_NOTIFY_INTERNAL_H */