Rename filter bytecode types and files
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 12 May 2020 20:10:04 +0000 (16:10 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Nov 2020 18:14:15 +0000 (13:14 -0500)
commit80c2a69a8298768c9010052e6c3668914191b9e7
treebffe85ca1577594cc3597d1574ca868e5e9551f0
parent89ec2b91ca249747d87b59aea76e6e67cdf7f0bf
Rename filter bytecode types and files

File renames:
- filter-bytecode.h -> bytecode.h
- lttng-filter-interpreter.c -> lttng-bytecode-interpreter.c
- lttng-filter-specialize.c -> lttng-bytecode-specialize.c
- lttng-filter-validator.c -> lttng-bytecode-validator.c
- lttng-filter.c -> lttng-bytecode.c
- lttng-filter.h -> lttng-bytecode.h

Function renames:
- `lttng_filter_interpret_bytecode_false()` -> `lttng_bytecode_filter_interpret_false()`
- `lttng_filter_interpret_bytecode()` -> `lttng_bytecode_filter_interpret()`
- `lttng_filter_specialize_bytecode()` -> `lttng_bytecode_specialize()`
- `lttng_filter_validate_bytecode()` -> `lttng_bytecode_validate()`

Type renames
- `filter_opcode_t` to `bytecode_opcode_t`

Enum renames:
- `enum filter_op` to `enum bytecode_op`
- `FILTER_OP_*` to `BYTECODE_OP_*`
- `enum lttng_filter_ret` -> `enum lttng_bytecode_interpreter_ret`
- `LTTNG_FILTER_DISCARD` -> `LTTNG_INTERPRETER_DISCARD`
- `LTTNG_FILTER_RECORD_FLAG` -> `LTTNG_INTERPRETER_RECORD_FLAG`

Define renames:
- `FILTER_STACK_EMPTY` -> `INTERPRETER_STACK_EMPTY`
- `FILTER_STACK_LEN`-> `INTERPRETER_STACK_LEN`
- `FILTER_MAX_DATA_LEN` -> `BYTECODE_MAX_DATA_LEN`

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I8cd3a15c8ba19aa1d66e611913a1b08e51d94a43
15 files changed:
include/lttng/bytecode.h [new file with mode: 0644]
include/lttng/events.h
include/lttng/filter-bytecode.h [deleted file]
include/lttng/filter.h [deleted file]
include/lttng/lttng-bytecode.h [new file with mode: 0644]
include/lttng/tracepoint-event-impl.h
src/Kbuild
src/lttng-bytecode-interpreter.c [new file with mode: 0644]
src/lttng-bytecode-specialize.c [new file with mode: 0644]
src/lttng-bytecode-validator.c [new file with mode: 0644]
src/lttng-bytecode.c [new file with mode: 0644]
src/lttng-filter-interpreter.c [deleted file]
src/lttng-filter-specialize.c [deleted file]
src/lttng-filter-validator.c [deleted file]
src/lttng-filter.c [deleted file]
This page took 0.027033 seconds and 4 git commands to generate.