1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2009, 2010 Benjamin Poirier <benjamin.poirier@polymtl.ca>
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 2.1 of the License, or (at
7 * your option) any later version.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12 * License for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef EVENT_PROCESSING_LTTNG_COMMON_H
19 #define EVENT_PROCESSING_LTTNG_COMMON_H
24 #include <lttv/tracecontext.h>
31 LTT_EVENT_DEV_XMIT_EXTENDED
,
32 LTT_EVENT_DEV_RECEIVE
,
33 LTT_EVENT_TCPV4_RCV_EXTENDED
,
34 LTT_EVENT_UDPV4_RCV_EXTENDED
;
39 LTT_FIELD_NETWORK_PROTOCOL
,
40 LTT_FIELD_TRANSPORT_PROTOCOL
,
60 void registerHooks(GArray
* hookListList
, LttvTracesetContext
* const
61 traceSetContext
, LttvHook hookFunction
, gpointer hookData
, const bool
63 void unregisterHooks(GArray
* hookListList
, LttvTracesetContext
* const