struct lttng_event_rule *
lttng_event_rule_kernel_kprobe_create(const struct lttng_kernel_probe_location *location)
{
struct lttng_event_rule *
lttng_event_rule_kernel_kprobe_create(const struct lttng_kernel_probe_location *location)
{
if (kernel_probe_set_location(krule, location)) {
lttng_event_rule_destroy(rule);
if (kernel_probe_set_location(krule, location)) {
lttng_event_rule_destroy(rule);
const struct lttng_event_rule_kernel_kprobe_comm *kprobe_comm;
const char *name;
struct lttng_buffer_view current_buffer_view;
const struct lttng_event_rule_kernel_kprobe_comm *kprobe_comm;
const char *name;
struct lttng_buffer_view current_buffer_view;
enum lttng_event_rule_status
lttng_event_rule_kernel_kprobe_set_event_name(struct lttng_event_rule *rule, const char *name)
{
enum lttng_event_rule_status
lttng_event_rule_kernel_kprobe_set_event_name(struct lttng_event_rule *rule, const char *name)
{
struct lttng_event_rule_kernel_kprobe *kprobe;
enum lttng_event_rule_status status = LTTNG_EVENT_RULE_STATUS_OK;
struct lttng_event_rule_kernel_kprobe *kprobe;
enum lttng_event_rule_status status = LTTNG_EVENT_RULE_STATUS_OK;