| 1 | /* |
| 2 | * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca> |
| 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.h" |
| 14 | #include "trace-ust.h" |
| 15 | #include "lttng-ust-ctl.h" |
| 16 | |
| 17 | int context_kernel_add(struct ltt_kernel_session *ksession, |
| 18 | const struct lttng_event_context *ctx, char *channel_name); |
| 19 | int context_ust_add(struct ltt_ust_session *usess, |
| 20 | enum lttng_domain_type domain, |
| 21 | const struct lttng_event_context *ctx, |
| 22 | char *channel_name); |
| 23 | |
| 24 | #endif /* _LTT_CONTEXT_H */ |