X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fkernel-ctl%2Fkernel-ctl.h;h=d3645a678fca9513cd7fce352b14a778eb71e210;hb=40fd2ccf9faa3e8b6d67d40c8ee52a2b3d1f07bd;hp=3bbe69f48ce41c9d8b163dc3d8032fed27133406;hpb=2b00d46244cab86f1186a7b00cdc660f24a26f72;p=lttng-tools.git diff --git a/src/common/kernel-ctl/kernel-ctl.h b/src/common/kernel-ctl/kernel-ctl.h index 3bbe69f48..d3645a678 100644 --- a/src/common/kernel-ctl/kernel-ctl.h +++ b/src/common/kernel-ctl/kernel-ctl.h @@ -32,12 +32,20 @@ int kernctl_create_event_notifier_group(int fd); /* Apply on event notifier_group file descriptor. */ int kernctl_create_event_notifier_group_notification_fd(int fd); +int kernctl_create_event_notifier_group_error_counter(int fd, + const struct lttng_kernel_counter_conf *error_counter_conf); int kernctl_create_event_notifier(int fd, const struct lttng_kernel_event_notifier *event_notifier); +int kernctl_counter_get_aggregate_value(int counter_fd, + struct lttng_kernel_counter_aggregate *value); +int kernctl_counter_clear(int counter_fd, + struct lttng_kernel_counter_clear *clear); + /* Apply on event file descriptor. */ int kernctl_filter(int fd, const struct lttng_bytecode *filter); int kernctl_add_callsite(int fd, struct lttng_kernel_event_callsite *callsite); +int kernctl_capture(int fd, const struct lttng_bytecode *capture); int kernctl_tracepoint_list(int fd); int kernctl_syscall_list(int fd);