X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-abi.h;h=db66bf375b74663e30f1b91809746a0bc76147b2;hb=80bb26003945e96a8ade9c8788dab9b2e08cbc08;hp=24877dc863c6513c93221631239e35bffab6b6e9;hpb=149b9a9d86d7351ee9a44ce391884cc12e922124;p=lttng-modules.git diff --git a/lttng-abi.h b/lttng-abi.h index 24877dc8..db66bf37 100644 --- a/lttng-abi.h +++ b/lttng-abi.h @@ -75,10 +75,19 @@ struct lttng_kernel_function_tracer { } __attribute__((packed)); struct lttng_kernel_uprobe { - char path[LTTNG_KERNEL_SYM_NAME_LEN]; + int fd; +} __attribute__((packed)); + +struct lttng_kernel_event_callsite_uprobe { uint64_t offset; } __attribute__((packed)); +struct lttng_kernel_event_callsite { + union { + struct lttng_kernel_event_callsite_uprobe uprobe; + } u; +} __attribute__((packed)); + /* * For syscall tracing, name = "*" means "enable all". */ @@ -220,6 +229,7 @@ struct lttng_kernel_filter_bytecode { /* Event FD ioctl */ #define LTTNG_KERNEL_FILTER _IO(0xF6, 0x90) +#define LTTNG_KERNEL_ADD_CALLSITE _IO(0xF6, 0x91) /* LTTng-specific ioctls for the lib ringbuffer */ /* returns the timestamp begin of the current sub-buffer */