SoW-2020-0002: Trace Hit Counters: trigger error reporting integration
[lttng-tools.git] / src / common / filter.h
index 051177a0ef9a62e8638b47ee676249aae1f36283..a03b1d9feb02fc38f8665d5cf91f0bd72f8164c0 100644 (file)
@@ -1,18 +1,8 @@
 /*
 /*
- * Copyright 2016 - Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ * Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License, version 2 only, as
- * published by the Free Software Foundation.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
  *
- * This program 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 General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #ifndef LTTNG_COMMON_FILTER_H
  */
 
 #ifndef LTTNG_COMMON_FILTER_H
@@ -26,21 +16,26 @@ struct bytecode_symbol_iterator;
  * Create an iterator on a bytecode's symbols. The iterator points to the
  * first element after creation.
  */
  * Create an iterator on a bytecode's symbols. The iterator points to the
  * first element after creation.
  */
+LTTNG_HIDDEN
 struct bytecode_symbol_iterator *bytecode_symbol_iterator_create(
 struct bytecode_symbol_iterator *bytecode_symbol_iterator_create(
-               struct lttng_filter_bytecode *bytecode);
+               struct lttng_bytecode *bytecode);
 
 /*
  * Advance iterator of one element.
  *
  * Returns 0 if a next element exists or a negative value at the end.
  */
 
 /*
  * Advance iterator of one element.
  *
  * Returns 0 if a next element exists or a negative value at the end.
  */
+LTTNG_HIDDEN
 int bytecode_symbol_iterator_next(struct bytecode_symbol_iterator *it);
 
 int bytecode_symbol_iterator_next(struct bytecode_symbol_iterator *it);
 
+LTTNG_HIDDEN
 int bytecode_symbol_iterator_get_type(struct bytecode_symbol_iterator *it);
 
 int bytecode_symbol_iterator_get_type(struct bytecode_symbol_iterator *it);
 
+LTTNG_HIDDEN
 const char *bytecode_symbol_iterator_get_name(
                struct bytecode_symbol_iterator *it);
 
 const char *bytecode_symbol_iterator_get_name(
                struct bytecode_symbol_iterator *it);
 
+LTTNG_HIDDEN
 void bytecode_symbol_iterator_destroy(struct bytecode_symbol_iterator *it);
 
 #endif /* LTTNG_COMMON_FILTER_H */
 void bytecode_symbol_iterator_destroy(struct bytecode_symbol_iterator *it);
 
 #endif /* LTTNG_COMMON_FILTER_H */
This page took 0.024233 seconds and 5 git commands to generate.