projects
/
deliverable
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Receive the event filter string in the Java agent
[deliverable/lttng-ust.git]
/
liblttng-ust-java-agent
/
java
/
lttng-ust-agent-common
/
org
/
lttng
/
ust
/
agent
/
client
/
LttngTcpSessiondClient.java
diff --git
a/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/LttngTcpSessiondClient.java
b/liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/LttngTcpSessiondClient.java
index d8788d320c416a9b9538bed603f7a9b45a8ca4cf..6cf971384260524869026351e868cfd5a4b608c2 100644
(file)
--- a/
liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/LttngTcpSessiondClient.java
+++ b/
liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/LttngTcpSessiondClient.java
@@
-42,8
+42,8
@@
public class LttngTcpSessiondClient implements Runnable {
private static final String ROOT_PORT_FILE = "/var/run/lttng/agent.port";
private static final String USER_PORT_FILE = "/.lttng/agent.port";
private static final String ROOT_PORT_FILE = "/var/run/lttng/agent.port";
private static final String USER_PORT_FILE = "/.lttng/agent.port";
- private static
int protocolMajorVersion = 1
;
- private static
int protocolMinorVersion
= 0;
+ private static
final int PROTOCOL_MAJOR_VERSION = 2
;
+ private static
final int PROTOCOL_MINOR_VERSION
= 0;
/** Command header from the session deamon. */
private final CountDownLatch registrationLatch = new CountDownLatch(1);
/** Command header from the session deamon. */
private final CountDownLatch registrationLatch = new CountDownLatch(1);
@@
-211,8
+211,8
@@
public class LttngTcpSessiondClient implements Runnable {
buf.putInt(domainValue);
buf.putInt(Integer.parseInt(pid));
buf.putInt(domainValue);
buf.putInt(Integer.parseInt(pid));
- buf.putInt(
protocolMajorVersion
);
- buf.putInt(
protocolMinorVersion
);
+ buf.putInt(
PROTOCOL_MAJOR_VERSION
);
+ buf.putInt(
PROTOCOL_MINOR_VERSION
);
this.outToSessiond.write(data, 0, data.length);
this.outToSessiond.flush();
}
this.outToSessiond.write(data, 0, data.length);
this.outToSessiond.flush();
}
This page took
0.026745 seconds
and
5
git commands to generate.