Fix: syscall event rule: emission sites not compared in is_equal
[lttng-tools.git] / include / lttng / action / snapshot-session-internal.hpp
CommitLineData
757c48a2
SM
1/*
2 * Copyright (C) 2019 Simon Marchi <simon.marchi@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8#ifndef LTTNG_ACTION_SNAPSHOT_SESSION_INTERNAL_H
9#define LTTNG_ACTION_SNAPSHOT_SESSION_INTERNAL_H
10
c9e313bc 11#include <common/macros.hpp>
757c48a2 12
28f23191
JG
13#include <sys/types.h>
14
757c48a2
SM
15struct lttng_action;
16struct lttng_payload_view;
17
18/*
19 * Create a "snapshot session" action from a payload view.
20 *
21 * On success, return the number of bytes consumed from `view`, and the created
22 * action in `*action`. On failure, return -1.
23 */
28f23191
JG
24extern ssize_t lttng_action_snapshot_session_create_from_payload(struct lttng_payload_view *view,
25 struct lttng_action **action);
757c48a2
SM
26
27#endif /* LTTNG_ACTION_SNAPSHOT_SESSION_INTERNAL_H */
This page took 0.044955 seconds and 5 git commands to generate.