X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-abi.h;h=cf72b12b524bdabcaff018079e730fc8e902c6ac;hb=76447e2fba05ed26d3822e6ab36bf0c0f2ca4b74;hp=fecf0ad1c663d044edf0f9609c7cb321b8d4319e;hpb=45f978cba84306313c542a33340b9cedc1e3e9db;p=lttng-modules.git diff --git a/lttng-abi.h b/lttng-abi.h index fecf0ad1..cf72b12b 100644 --- a/lttng-abi.h +++ b/lttng-abi.h @@ -4,11 +4,23 @@ /* * lttng-abi.h * - * Copyright 2010 (c) - Mathieu Desnoyers - * * LTTng ABI header * - * 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 @@ -87,9 +99,9 @@ struct lttng_kernel_event { }; struct lttng_kernel_tracer_version { - uint32_t version; + uint32_t major; + uint32_t minor; uint32_t patchlevel; - uint32_t sublevel; }; enum lttng_kernel_calibrate_type { @@ -111,6 +123,7 @@ enum lttng_kernel_context_type { LTTNG_KERNEL_CONTEXT_VTID = 7, LTTNG_KERNEL_CONTEXT_PPID = 8, LTTNG_KERNEL_CONTEXT_VPPID = 9, + LTTNG_KERNEL_CONTEXT_HOSTNAME = 10, }; struct lttng_kernel_perf_counter_ctx {