X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt-debugfs-abi.h;h=c20ae2da1a152f2069e6171c7b120baefdc7d1a5;hb=43880ee8e9d67a4058a230de31d0e2b3d605e05d;hp=f041476f259696a58c55d3de27f41cdc8e9f9599;hpb=9b4a21cced19f3c661fdf5e08d40688ff2539ad7;p=lttng-modules.git diff --git a/ltt-debugfs-abi.h b/ltt-debugfs-abi.h index f041476f..c20ae2da 100644 --- a/ltt-debugfs-abi.h +++ b/ltt-debugfs-abi.h @@ -20,6 +20,8 @@ enum lttng_kernel_instrumentation { LTTNG_KERNEL_KPROBE = 1, LTTNG_KERNEL_FUNCTION = 2, LTTNG_KERNEL_KRETPROBE = 3, + LTTNG_KERNEL_NOOP = 4, /* not hooked */ + LTTNG_KERNEL_SYSCALL = 5, }; /* @@ -64,6 +66,9 @@ struct lttng_kernel_function_tracer { char symbol_name[LTTNG_SYM_NAME_LEN]; }; +/* + * For syscall tracing, name = '\0' means "enable all". + */ struct lttng_kernel_event { char name[LTTNG_SYM_NAME_LEN]; /* event name */ enum lttng_kernel_instrumentation instrumentation; @@ -81,12 +86,12 @@ struct lttng_kernel_tracer_version { uint32_t sublevel; }; -enum lttng_calibrate_type { - LTTNG_CALIBRATE_KRETPROBE, +enum lttng_kernel_calibrate_type { + LTTNG_KERNEL_CALIBRATE_KRETPROBE, }; -struct lttng_calibrate { - enum lttng_calibrate_type type; /* type (input) */ +struct lttng_kernel_calibrate { + enum lttng_kernel_calibrate_type type; /* type (input) */ }; enum lttng_kernel_context_type { @@ -122,7 +127,7 @@ struct lttng_kernel_context { #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_calibrate) + _IOWR(0xF6, 0x44, struct lttng_kernel_calibrate) /* Session FD ioctl */ #define LTTNG_KERNEL_METADATA \