X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust-java%2FLTTngUst.java;h=79ad97afc7cb73570917201c9dcbcbe35b026eb0;hb=071f1d0be5fb8e07972f59f4c1cde9cf874718b3;hp=f4bea3242b5934a47596915120bc373b429978dd;hpb=14d1b9ce73cfcdfed42da32a13c984c54672cbd8;p=lttng-ust.git diff --git a/liblttng-ust-java/LTTngUst.java b/liblttng-ust-java/LTTngUst.java index f4bea324..79ad97af 100644 --- a/liblttng-ust-java/LTTngUst.java +++ b/liblttng-ust-java/LTTngUst.java @@ -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. *