X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ffilter.c;h=9195808ee75be083b5d5e386fa2febf564d0a135;hb=6e53c52d3bf42bac72d7437684657ac442499616;hp=dc1cdb0f1e25c9cd4b2ca123fd07293d286fca19;hpb=4af1498e8d85fdbfda0bdf4fa89dd9697cc8ad79;p=lttng-tools.git diff --git a/src/common/filter.c b/src/common/filter.c index dc1cdb0f1..9195808ee 100644 --- a/src/common/filter.c +++ b/src/common/filter.c @@ -1,22 +1,8 @@ /* - * filter.c + * Copyright 2016 Jérémie Galarneau * - * LTTng filter bytecode utilities. + * SPDX-License-Identifier: LGPL-2.1-only * - * Copyright 2016 - Jérémie Galarneau - * - * 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,9 +14,8 @@ struct bytecode_symbol_iterator { size_t offset, len; }; -LTTNG_HIDDEN struct bytecode_symbol_iterator *bytecode_symbol_iterator_create( - struct lttng_filter_bytecode *bytecode) + struct lttng_bytecode *bytecode) { struct bytecode_symbol_iterator *it = NULL; @@ -50,7 +35,6 @@ end: return it; } -LTTNG_HIDDEN int bytecode_symbol_iterator_next(struct bytecode_symbol_iterator *it) { int ret; @@ -68,7 +52,6 @@ end: return ret; } -LTTNG_HIDDEN int bytecode_symbol_iterator_get_type(struct bytecode_symbol_iterator *it) { int ret; @@ -83,7 +66,6 @@ end: return ret; } -LTTNG_HIDDEN const char *bytecode_symbol_iterator_get_name( struct bytecode_symbol_iterator *it) { @@ -98,7 +80,6 @@ end: return ret; } -LTTNG_HIDDEN void bytecode_symbol_iterator_destroy(struct bytecode_symbol_iterator *it) { free(it);