Fix: sessiond: erroneous error code returned on rotation failure
[lttng-tools.git] / src / bin / lttng-sessiond / context.h
CommitLineData
b579acd9 1/*
ab5be9fa 2 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
b579acd9 3 *
ab5be9fa 4 * SPDX-License-Identifier: GPL-2.0-only
b579acd9 5 *
b579acd9
DG
6 */
7
8#ifndef _LTT_CONTEXT_H
9#define _LTT_CONTEXT_H
10
54d01ffb 11#include <lttng/lttng.h>
b579acd9 12
62499ad6 13#include "trace-kernel.h"
2bdd86d4 14#include "trace-ust.h"
75018ab6 15#include "lttng-ust-ctl.h"
b579acd9 16
54d01ffb 17int context_kernel_add(struct ltt_kernel_session *ksession,
df4f5a87 18 const struct lttng_event_context *ctx, char *channel_name);
4ce7709b 19int context_ust_add(struct ltt_ust_session *usess,
df4f5a87
JG
20 enum lttng_domain_type domain,
21 const struct lttng_event_context *ctx,
4ce7709b 22 char *channel_name);
b579acd9
DG
23
24#endif /* _LTT_CONTEXT_H */
This page took 0.053738 seconds and 4 git commands to generate.