Rename filter bytecode types and files
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 15 Apr 2020 15:03:53 +0000 (11:03 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Nov 2020 18:34:29 +0000 (13:34 -0500)
commit04aa13f8c2944839f6514e3841b93057b443a783
treed35d4ff2d856ffcc81299dfc3ada78aed2007a37
parentab249ecfea7ddc352e1fb5c3b97a4f0fbb62f3ca
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: Iaab55116da5a3a8562b0f9e5b6033b556292f55b
15 files changed:
include/lttng/ust-events.h
include/lttng/ust-tracepoint-event.h
liblttng-ust/Makefile.am
liblttng-ust/bytecode.h [new file with mode: 0644]
liblttng-ust/filter-bytecode.h [deleted file]
liblttng-ust/lttng-bytecode-interpreter.c [new file with mode: 0644]
liblttng-ust/lttng-bytecode-specialize.c [new file with mode: 0644]
liblttng-ust/lttng-bytecode-validator.c [new file with mode: 0644]
liblttng-ust/lttng-bytecode.c [new file with mode: 0644]
liblttng-ust/lttng-bytecode.h [new file with mode: 0644]
liblttng-ust/lttng-filter-interpreter.c [deleted file]
liblttng-ust/lttng-filter-specialize.c [deleted file]
liblttng-ust/lttng-filter-validator.c [deleted file]
liblttng-ust/lttng-filter.c [deleted file]
liblttng-ust/lttng-filter.h [deleted file]
This page took 0.027384 seconds and 4 git commands to generate.