bytecode: set register type to `REG_PTR` even if not used
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Mon, 11 May 2020 20:09:20 +0000 (16:09 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Nov 2020 18:11:38 +0000 (13:11 -0500)
commit196e531f00db3dcc3faadb497ba677f4a52c4e87
treea2afe5429584fa90c6620f34613756ddbfd6e206
parent03cb0cdd5c45e758520e1ba9d9300d448314d527
bytecode: set register type to `REG_PTR` even if not used

There was no need to set the field when using filter as the next
instruction would assume that the top of stack is a `REG_PTR`.

With the upcoming capture feature, we need to ensure this field is
consistent for extraction.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I9c60416dd452949e584fadd70b15cdc3d402aa46
src/lttng-filter-interpreter.c
This page took 0.026762 seconds and 5 git commands to generate.