4 * Linux Trace Toolkit Control Library
6 * Copyright (C) 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
8 * SPDX-License-Identifier: LGPL-2.1-only
12 #ifndef LTTNG_EVENT_INTERNAL_H
13 #define LTTNG_EVENT_INTERNAL_H
15 #include <common/macros.h>
16 #include <lttng/event.h>
18 struct lttng_userspace_probe_location
;
20 struct lttng_event_extended
{
22 * exclusions and filter_expression are only set when the lttng_event
23 * was created/allocated by a list operation. These two elements must
24 * not be free'd as they are part of the same contiguous buffer that
25 * contains all events returned by the listing.
27 char *filter_expression
;
30 /* Array of strings of fixed LTTNG_SYMBOL_NAME_LEN length. */
33 struct lttng_userspace_probe_location
*probe_location
;
37 struct lttng_event
*lttng_event_copy(const struct lttng_event
*event
);
39 #endif /* LTTNG_EVENT_INTERNAL_H */