projects
/
lttng-ust-java-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the "LTTng control" to separate packages
[lttng-ust-java-tests.git]
/
src
/
test
/
java
/
org
/
lttng
/
ust
/
agent
/
benchmarks
/
jul
/
handler
/
lttng
/
LttngJulHandlerTracingDisabledBenchmark.java
diff --git
a/src/test/java/org/lttng/ust/agent/benchmarks/jul/handler/lttng/LttngJulHandlerTracingDisabledBenchmark.java
b/src/test/java/org/lttng/ust/agent/benchmarks/jul/handler/lttng/LttngJulHandlerTracingDisabledBenchmark.java
index 3ba6291df86092ef576d34456316a1250453e87a..23ab1ee70cebd8812fd29b5c5fe5cf0dc0a14068 100644
(file)
--- a/
src/test/java/org/lttng/ust/agent/benchmarks/jul/handler/lttng/LttngJulHandlerTracingDisabledBenchmark.java
+++ b/
src/test/java/org/lttng/ust/agent/benchmarks/jul/handler/lttng/LttngJulHandlerTracingDisabledBenchmark.java
@@
-24,10
+24,10
@@
import java.io.IOException;
import org.junit.After;
import org.junit.Before;
import org.junit.After;
import org.junit.Before;
+import org.lttng.tools.ILttngSession;
+import org.lttng.tools.ILttngSession.Domain;
import org.lttng.ust.agent.benchmarks.jul.handler.JulHandlerBenchmarkBase;
import org.lttng.ust.agent.jul.LttngLogHandler;
import org.lttng.ust.agent.benchmarks.jul.handler.JulHandlerBenchmarkBase;
import org.lttng.ust.agent.jul.LttngLogHandler;
-import org.lttng.ust.agent.utils.LttngSession;
-import org.lttng.ust.agent.utils.LttngSession.Domain;
/**
* Benchmark the LTTng-JUL handler, but with tracing disabled in the tracing
/**
* Benchmark the LTTng-JUL handler, but with tracing disabled in the tracing
@@
-35,7
+35,7
@@
import org.lttng.ust.agent.utils.LttngSession.Domain;
*/
public class LttngJulHandlerTracingDisabledBenchmark extends JulHandlerBenchmarkBase {
*/
public class LttngJulHandlerTracingDisabledBenchmark extends JulHandlerBenchmarkBase {
- private LttngSession session;
+ private
I
LttngSession session;
/**
* Test setup
/**
* Test setup
@@
-46,7
+46,7
@@
public class LttngJulHandlerTracingDisabledBenchmark extends JulHandlerBenchmark
public void testSetup() throws IOException {
handler = new LttngLogHandler();
public void testSetup() throws IOException {
handler = new LttngLogHandler();
- session =
new Lttng
Session(null, Domain.JUL);
+ session =
ILttngSession.newCommandLine
Session(null, Domain.JUL);
assertTrue(session.enableEvents("non-event"));
assertTrue(session.start());
}
assertTrue(session.enableEvents("non-event"));
assertTrue(session.start());
}
This page took
0.023409 seconds
and
4
git commands to generate.