X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel.h;h=16d8099303f112bff916484194dd7caa5062cf14;hp=a2dd7f060394b782763082692b928a014ee4448d;hb=refs%2Fheads%2Fsow-2020-0002-rev2;hpb=11f6ce94d8fb73f017888681aaba5d7df55fc735 diff --git a/src/bin/lttng-sessiond/kernel.h b/src/bin/lttng-sessiond/kernel.h index a2dd7f060..16d809930 100644 --- a/src/bin/lttng-sessiond/kernel.h +++ b/src/bin/lttng-sessiond/kernel.h @@ -87,12 +87,32 @@ enum lttng_error_code kernel_create_event_notifier_group_notification_fd( enum lttng_error_code kernel_destroy_event_notifier_group_notification_fd( int event_notifier_group_notification_fd); +enum lttng_error_code kernel_create_event_counter( + struct ltt_kernel_map *kmap, + const struct lttng_credentials *creds, + uint64_t action_tracer_token, + const struct lttng_event_rule *event_rule, + struct lttng_map_key *key); + +enum lttng_error_code kernel_register_incr_value_action( + struct ltt_session *session, + const struct lttng_condition *condition, + const char *map_name, + uint64_t tracer_token, + struct lttng_map_key *key); + enum lttng_error_code kernel_register_event_notifier( struct lttng_trigger *trigger, const struct lttng_credentials *cmd_creds); enum lttng_error_code kernel_unregister_event_notifier( const struct lttng_trigger *trigger); +enum lttng_error_code kernel_synchronize_tracer_executed_action(void); + +enum lttng_error_code kernel_list_map_values(const struct ltt_kernel_map *map, + const struct lttng_map_query *query, + struct lttng_map_content **map_content); + int kernel_get_notification_fd(void); #endif /* _LTT_KERNEL_CTL_H */