X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=filter-bytecode.h;h=65d34f02edb43d5125e354efa46908c6bf167222;hp=2aa5c2d08462b6ca23129848b5ea8144d61c32f9;hb=436f640717bab63240d9a624846d947e150a2cee;hpb=e16c054bb621df50a1710dcd9d1d613f13ef52d2 diff --git a/filter-bytecode.h b/filter-bytecode.h index 2aa5c2d0..65d34f02 100644 --- a/filter-bytecode.h +++ b/filter-bytecode.h @@ -1,32 +1,15 @@ -#ifndef _FILTER_BYTECODE_H -#define _FILTER_BYTECODE_H - -/* +/* SPDX-License-Identifier: MIT + * * filter-bytecode.h * * LTTng filter bytecode * * Copyright 2012-2016 - Mathieu Desnoyers - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. */ +#ifndef _FILTER_BYTECODE_H +#define _FILTER_BYTECODE_H + /* * offsets are absolute from start of bytecode. */ @@ -204,6 +187,8 @@ enum filter_op { FILTER_OP_UNARY_BIT_NOT = 98, + FILTER_OP_RETURN_S64 = 99, + NR_FILTER_OPS, };