*dest = LTTNG_EVENT_RULE_TYPE_KERNEL_KPROBE;
} else if (strcmp(arg, "kernel:uprobe") == 0) {
*dest = LTTNG_EVENT_RULE_TYPE_KERNEL_UPROBE;
- } else if (strcmp(arg, "function") == 0) {
- *dest = LTTNG_EVENT_RULE_TYPE_KERNEL_FUNCTION;
} else if (has_syscall_prefix(arg)) {
/*
* Matches the following:
switch (event_rule_type) {
case LTTNG_EVENT_RULE_TYPE_KERNEL_KPROBE:
case LTTNG_EVENT_RULE_TYPE_KERNEL_UPROBE:
- case LTTNG_EVENT_RULE_TYPE_KERNEL_FUNCTION:
if (!location) {
ERR("Event rule of type %s requires a --location.",
lttng_event_rule_type_str(event_rule_type));
goto error;
}
- /* Ownership of the action was transferred to the group. */
+ /* Ownership of the action was transferred to the list. */
action = NULL;
break;