4 * Linux Trace Toolkit Control Library
6 * Copyright (C) 2017 - Jérémie Galarneau <jeremie.galarneau@efficios.com>
8 * This library is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU Lesser General Public License, version 2.1 only,
10 * as published by the Free Software Foundation.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this library; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 #ifndef LTTNG_EVENT_INTERNAL_H
23 #define LTTNG_EVENT_INTERNAL_H
25 #include <common/macros.h>
26 #include <lttng/event.h>
28 struct lttng_userspace_probe_location
;
30 struct lttng_event_extended
{
32 * exclusions and filter_expression are only set when the lttng_event
33 * was created/allocated by a list operation. These two elements must
34 * not be free'd as they are part of the same contiguous buffer that
35 * contains all events returned by the listing.
37 char *filter_expression
;
40 /* Array of strings of fixed LTTNG_SYMBOL_NAME_LEN length. */
43 struct lttng_userspace_probe_location
*probe_location
;
47 struct lttng_event
*lttng_event_copy(const struct lttng_event
*event
);
49 #endif /* LTTNG_EVENT_INTERNAL_H */