Commit | Line | Data |
---|---|---|
b579acd9 | 1 | /* |
21cf9b6b | 2 | * Copyright (C) 2011 EfficiOS Inc. |
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 | |
c9e313bc SM |
13 | #include "trace-kernel.hpp" |
14 | #include "trace-ust.hpp" | |
15 | #include "lttng-ust-ctl.hpp" | |
b579acd9 | 16 | |
54d01ffb | 17 | int context_kernel_add(struct ltt_kernel_session *ksession, |
26e1c61f JR |
18 | const struct lttng_event_context *ctx, |
19 | const char *channel_name); | |
4ce7709b | 20 | int context_ust_add(struct ltt_ust_session *usess, |
df4f5a87 JG |
21 | enum lttng_domain_type domain, |
22 | const struct lttng_event_context *ctx, | |
26e1c61f | 23 | const char *channel_name); |
b579acd9 DG |
24 | |
25 | #endif /* _LTT_CONTEXT_H */ |