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:54:29 +0000 (17:54 -0500)
commit5c76231c94c9bbe2c4b707e7b63766d6c28452fa
tree7114d0d5828441f880fb2dff01539addc41e31c7
parente1357790eb9dbd638a9f35a5c5e4cea237957f2f
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.02453 seconds and 4 git commands to generate.