projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Handle both agent config files pointing to same port
[lttng-ust.git]
/
liblttng-ust-java-agent
/
java
/
lttng-ust-agent-common
/
org
/
lttng
/
ust
/
agent
/
ILttngAgent.java
diff --git
a/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/ILttngAgent.java
b/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/ILttngAgent.java
index 044bdf07c3adebb3f5085a1430d6f0d057fb0c05..5de0924256bfa59156c47ea861830c01c52c4f25 100644
(file)
--- a/
liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/ILttngAgent.java
+++ b/
liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/ILttngAgent.java
@@
-17,6
+17,9
@@
package org.lttng.ust.agent;
package org.lttng.ust.agent;
+import java.util.Collection;
+import java.util.Map;
+
/**
* Interface to define LTTng Java agents.
*
/**
* Interface to define LTTng Java agents.
*
@@
-86,8
+89,7
@@
public interface ILttngAgent<T extends ILttngHandler> {
/**
* Query if a given event is currently enabled in a current tracing session,
/**
* Query if a given event is currently enabled in a current tracing session,
- * meaning it should be sent to UST. May be quicker than listing all events
- * via {@link #listEnabledEvents()}.
+ * meaning it should be sent to UST.
*
* @param eventName
* The name of the event to check.
*
* @param eventName
* The name of the event to check.
@@
-96,9
+98,10
@@
public interface ILttngAgent<T extends ILttngHandler> {
boolean isEventEnabled(String eventName);
/**
boolean isEventEnabled(String eventName);
/**
- *
List the all events currently enabled in the current
tracing sessions.
+ *
Return the list of application contexts enabled in the
tracing sessions.
*
*
- * @return The list of enabled events
+ * @return The application contexts, first indexed by retriever name, then
+ * by context name
*/
*/
-
Iterable<String> listEnabledEven
ts();
+
Collection<Map.Entry<String, Map<String, Integer>>> getEnabledAppContex
ts();
}
}
This page took
0.037956 seconds
and
4
git commands to generate.