Fix: Correctly report filter notifications on Java agent teardown
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 12 Feb 2016 16:51:47 +0000 (11:51 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 12 Feb 2016 22:02:09 +0000 (17:02 -0500)
commit16ce042ec2c788f93bb5ea4a59cc32b21d966286
tree266724e848a3b2f14df2c76a9f1d5b8f9868d68b
parent8c247130e2b7552b319996a3635e7200f6c2e23c
Fix: Correctly report filter notifications on Java agent teardown

If a Java agent gets disposed, it should not just clear() all its
tracked event rules: it should first send corresponding filter change
notifications indicating that these rules are not tracked anymore.

This fixes a problem where if event rules were still enabled on agent
tear down, the filter notifier's own tracked events would become out
of sync.

Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/AbstractLttngAgent.java
This page took 0.027643 seconds and 5 git commands to generate.