Add "2x int" and "2x long" types to the Java interface
[lttng-ust.git] / liblttng-ust-java / LTTngUst.java
index f4bea3242b5934a47596915120bc373b429978dd..79ad97afc7cb73570917201c9dcbcbe35b026eb0 100644 (file)
@@ -56,6 +56,20 @@ public abstract class LTTngUst {
      */
     public static native void tracepointInt(String name, int payload);
 
+    /**
+     * Insert a tracepoint with a payload consisting of two integers.
+     *
+     * @param name
+     *            The name assigned to this event. For best performance, this
+     *            should be a statically-defined String, or a literal.
+     * @param payload1
+     *            The first int payload
+     * @param payload2
+     *            The second int payload
+     */
+    public static native void
+    tracepointIntInt(String name, int payload1, int payload2);
+
     /**
      * Insert a tracepoint with a payload of type Long
      *
@@ -67,6 +81,20 @@ public abstract class LTTngUst {
      */
     public static native void tracepointLong(String name, long payload);
 
+    /**
+     * Insert a tracepoint with a payload consisting of two longs.
+     *
+     * @param name
+     *            The name assigned to this event. For best performance, this
+     *            should be a statically-defined String, or a literal.
+     * @param payload1
+     *            The first long payload
+     * @param payload2
+     *            The second long payload
+     */
+    public static native void
+    tracepointLongLong(String name, long payload1, long payload2);
+
     /**
      * Insert a tracepoint with a String payload.
      *
This page took 0.023519 seconds and 4 git commands to generate.