]> git.lttng.org Git - lttng-tools.git/commit
Fix: sessiond: assertion on inconsistent filter bytecode and expression
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 1 Oct 2024 19:47:57 +0000 (15:47 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 22 Nov 2024 20:33:39 +0000 (20:33 +0000)
commit43c9fabc215560669033bcbf9c09630098b7de5b
tree6172eab9f8ffe2eec89858269ab2fd01a8ff2d63
parent97a6a0567cc22c5f02046d2a1dcf82e1cdea9011
Fix: sessiond: assertion on inconsistent filter bytecode and expression

The session daemon correctly expects that a recording event-rule that
specifies a filter must have both a bytecode and an expression (or
neither of them).

However, it shouldn't assert as those elements are user-specified. The
handling is changed to return an "invalid parameter" error to the
client.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I3df6ce79bc6ce1fa9dadb184a7fd2b528dc2a597
src/bin/lttng-sessiond/cmd.cpp
This page took 0.027934 seconds and 4 git commands to generate.