8#ifndef LTTNG_EVENT_RULE_KERNEL_KPROBE_H
9#define LTTNG_EVENT_RULE_KERNEL_KPROBE_H
11#include <lttng/event-rule/event-rule.h>
12#include <lttng/lttng-export.h>
lttng_event_rule_status
Return type of event rule API functions.
Definition event-rule.h:75
enum lttng_event_rule_status lttng_event_rule_kernel_kprobe_set_event_name(struct lttng_event_rule *rule, const char *name)
Sets the event name of the Linux kprobe event rule rule to name.
enum lttng_event_rule_status lttng_event_rule_kernel_kprobe_get_location(const struct lttng_event_rule *rule, const struct lttng_kernel_probe_location **location)
Sets *location to the kprobe location of the Linux kprobe event rule rule, a copy of the kprobe locat...
enum lttng_event_rule_status lttng_event_rule_kernel_kprobe_get_event_name(const struct lttng_event_rule *rule, const char **name)
Sets *name to the event name of the Linux kprobe event rule rule.
struct lttng_event_rule * lttng_event_rule_kernel_kprobe_create(const struct lttng_kernel_probe_location *location)
Creates a default Linux kprobe event rule for the kprobe location location.
Event rule (opaque type).
Linux kprobe location (opaque type).