~lttng/lttng-ust/lttng-ust

Viewing all changes in revision 2380.

  • Committer: Mathieu Desnoyers
  • Author(s): Francis Deslauriers
  • Date: 2020-03-20 20:18:20 UTC
  • Revision ID: git-v1:5ffb7c14f2a7e58ff18864c0d14909bdf23bc65d
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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: