| 1 | /* |
| 2 | * Copyright (C) 2011 EfficiOS Inc. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0-only |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef _LTT_CONTEXT_H |
| 9 | #define _LTT_CONTEXT_H |
| 10 | |
| 11 | #include <lttng/lttng.h> |
| 12 | |
| 13 | #include "trace-kernel.hpp" |
| 14 | #include "trace-ust.hpp" |
| 15 | #include "lttng-ust-ctl.hpp" |
| 16 | |
| 17 | int context_kernel_add(struct ltt_kernel_session *ksession, |
| 18 | const struct lttng_event_context *ctx, |
| 19 | const char *channel_name); |
| 20 | int context_ust_add(struct ltt_ust_session *usess, |
| 21 | enum lttng_domain_type domain, |
| 22 | const struct lttng_event_context *ctx, |
| 23 | const char *channel_name); |
| 24 | |
| 25 | #endif /* _LTT_CONTEXT_H */ |