Add kernel and UST time namespace context
[lttng-tools.git] / src / common / filter.c
index f103d240f7fe6d9c14fd904d119ca934d6fde1ca..fc16f1d526abaef92f0bb97d3eb4ed19f7e69b2b 100644 (file)
@@ -1,22 +1,8 @@
 /*
- * filter.c
+ * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * LTTng filter bytecode utilities.
+ * SPDX-License-Identifier: LGPL-2.1-only
  *
- * Copyright 2016 - Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
- * This library is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License, version 2.1 only,
- * as published by the Free Software Foundation.
- *
- * 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 "filter.h"
@@ -28,6 +14,7 @@ struct bytecode_symbol_iterator {
        size_t offset, len;
 };
 
+LTTNG_HIDDEN
 struct bytecode_symbol_iterator *bytecode_symbol_iterator_create(
                struct lttng_filter_bytecode *bytecode)
 {
@@ -49,6 +36,7 @@ end:
        return it;
 }
 
+LTTNG_HIDDEN
 int bytecode_symbol_iterator_next(struct bytecode_symbol_iterator *it)
 {
        int ret;
@@ -66,6 +54,7 @@ end:
        return ret;
 }
 
+LTTNG_HIDDEN
 int bytecode_symbol_iterator_get_type(struct bytecode_symbol_iterator *it)
 {
        int ret;
@@ -80,6 +69,7 @@ end:
        return ret;
  }
 
+LTTNG_HIDDEN
 const char *bytecode_symbol_iterator_get_name(
                struct bytecode_symbol_iterator *it)
 {
@@ -94,6 +84,7 @@ end:
        return ret;
 }
 
+LTTNG_HIDDEN
 void bytecode_symbol_iterator_destroy(struct bytecode_symbol_iterator *it)
 {
        free(it);
This page took 0.024926 seconds and 4 git commands to generate.