Record event as soon as one filters evaluates to TRUE
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 20 Mar 2020 14:52:21 +0000 (10:52 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 20 Mar 2020 20:18:20 +0000 (16:18 -0400)
commit5ffb7c14f2a7e58ff18864c0d14909bdf23bc65d
tree5c78ca619ab247841c53758e4c99ec4d12ef54f9
parent75026e9f596aa057bd3499a7be43a7fc8aa0b783
Record event as soon as one filters evaluates to TRUE

This is a tiny optimization but it can reduce tracing cost in cases
where multiple filters are attached to a probe.

Since we want to trace the event if any of its filter expressions
evaluates to TRUE, there is no need to keep on evaluating expression
once one is found to be TRUE.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I2bb8fafb3052fce02b10f541e025a9a74ffa1895
include/lttng/ust-tracepoint-event.h
This page took 0.024433 seconds and 4 git commands to generate.