X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-types.h;h=148111e5d7103b1e96565d75bb4df563d30cb96b;hb=b8026cc4a9f2067ec330cfc10d628df3c17a9154;hp=10620280baf6d4d8ecb34250555e06e402e3479c;hpb=17baffe29814f2508556e498ab8c41a192e76b67;p=lttng-modules.git diff --git a/probes/lttng-types.h b/probes/lttng-types.h index 10620280..148111e5 100644 --- a/probes/lttng-types.h +++ b/probes/lttng-types.h @@ -8,18 +8,30 @@ /* * probes/lttng-types.h * - * Copyright 2010 (c) - Mathieu Desnoyers - * * LTTng types. * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2010-2012 Mathieu Desnoyers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; only + * version 2.1 of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include -#include "lttng.h" -#include "../ltt-events.h" -#include "../ltt-tracer.h" -#include "../ltt-endian.h" +#include +#include +#include +#include #endif /* _LTTNG_PROBES_LTTNG_TYPES_H */ @@ -56,7 +68,7 @@ #define TRACE_EVENT_TYPE___enum(_name, _container_type) \ { \ .name = #_name, \ - .container_type = __type_integer(_container_type, __BYTE_ORDER, 10, none), \ + .container_type = __type_integer(_container_type, 0, 0, -1, __BYTE_ORDER, 10, none), \ .entries = __trace_event_enum_##_name, \ .len = ARRAY_SIZE(__trace_event_enum_##_name), \ },