Docs: document new lttng_event methods
[lttng-tools.git] / include / lttng / event-internal.h
CommitLineData
2d1318e4
JG
1/*
2 * event-internal.h
3 *
4 * Linux Trace Toolkit Control Library
5 *
6 * Copyright (C) 2017 - Jérémie Galarneau <jeremie.galarneau@efficios.com>
7 *
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.
11 *
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.
16 *
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
20 */
21
22#ifndef LTTNG_EVENT_INTERNAL_H
23#define LTTNG_EVENT_INTERNAL_H
24
25struct lttng_userspace_probe_location;
26
27struct lttng_event_extended {
28 /*
29 * exclusions and filter_expression are only set when the lttng_event
30 * was created/allocated by a list operation. These two elements must
31 * not be free'd as they are part of the same contiguous buffer that
32 * contains all events returned by the listing.
33 */
34 char *filter_expression;
35 struct {
36 unsigned int count;
37 /* Array of strings of fixed LTTNG_SYMBOL_NAME_LEN length. */
38 char *strings;
39 } exclusions;
40 struct lttng_userspace_probe_location *probe_location;
41};
42
43#endif /* LTTNG_EVENT_INTERNAL_H */
This page took 0.034886 seconds and 5 git commands to generate.