X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt-debugfs-abi.h;h=f7e643132622b6c809dd9530ff7f05264dcf7608;hb=3db41b2c5d1fef77ca065dc8ef7f0fdd9c17cf32;hp=3b8e72ea9c8544b0d55165a7311ed25e7ddbb834;hpb=7371f44c2c8ea6e60c0457671af008dd018c0b5f;p=lttng-modules.git diff --git a/ltt-debugfs-abi.h b/ltt-debugfs-abi.h index 3b8e72ea..f7e64313 100644 --- a/ltt-debugfs-abi.h +++ b/ltt-debugfs-abi.h @@ -81,6 +81,14 @@ struct lttng_kernel_tracer_version { uint32_t sublevel; }; +enum lttng_kernel_calibrate_type { + LTTNG_KERNEL_CALIBRATE_KRETPROBE, +}; + +struct lttng_kernel_calibrate { + enum lttng_kernel_calibrate_type type; /* type (input) */ +}; + enum lttng_kernel_context_type { LTTNG_KERNEL_CONTEXT_PID = 0, LTTNG_KERNEL_CONTEXT_PERF_COUNTER = 1, @@ -113,6 +121,8 @@ struct lttng_kernel_context { _IOR(0xF6, 0x41, struct lttng_kernel_tracer_version) #define LTTNG_KERNEL_TRACEPOINT_LIST _IO(0xF6, 0x42) #define LTTNG_KERNEL_WAIT_QUIESCENT _IO(0xF6, 0x43) +#define LTTNG_KERNEL_CALIBRATE \ + _IOWR(0xF6, 0x44, struct lttng_kernel_calibrate) /* Session FD ioctl */ #define LTTNG_KERNEL_METADATA \