Implement 2-step registration of userspace probe events
[lttng-tools.git] / src / common / kernel-ctl / kernel-ctl.c
index a495ca9b705bee48c94d7d32c9b602cbc9a48a7f..047d40a34d80ea611ff940a78efdb26ebf9127bd 100644 (file)
@@ -350,6 +350,11 @@ int kernctl_filter(int fd, struct lttng_filter_bytecode *filter)
        return ret;
 }
 
+int kernctl_add_callsite(int fd, struct lttng_kernel_event_callsite *callsite)
+{
+       return LTTNG_IOCTL_CHECK(fd, LTTNG_KERNEL_ADD_CALLSITE, callsite);
+}
+
 int kernctl_tracepoint_list(int fd)
 {
        return compat_ioctl_no_arg(fd, LTTNG_KERNEL_OLD_TRACEPOINT_LIST,
This page took 0.022818 seconds and 4 git commands to generate.