X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fevent-rule%2Fevent-rule.c;h=b4225f8674f37595f58bf72757060de1c01d71ad;hb=1b8894d079813c9e8a29e2da64f6427e62514a0e;hp=e02a1c320d05fc6f25c5ad3d265b2d74a37bd12f;hpb=45ce77e1f8f35eb126de67b85f645180115168fa;p=lttng-tools.git diff --git a/src/common/event-rule/event-rule.c b/src/common/event-rule/event-rule.c index e02a1c320..b4225f867 100644 --- a/src/common/event-rule/event-rule.c +++ b/src/common/event-rule/event-rule.c @@ -51,7 +51,6 @@ enum lttng_domain_type lttng_event_rule_get_domain_type( break; case LTTNG_EVENT_RULE_TYPE_KERNEL_SYSCALL: case LTTNG_EVENT_RULE_TYPE_KERNEL_KPROBE: - case LTTNG_EVENT_RULE_TYPE_KERNEL_FUNCTION: case LTTNG_EVENT_RULE_TYPE_KERNEL_UPROBE: case LTTNG_EVENT_RULE_TYPE_KERNEL_TRACEPOINT: domain_type = LTTNG_DOMAIN_KERNEL; @@ -181,9 +180,6 @@ ssize_t lttng_event_rule_create_from_payload( case LTTNG_EVENT_RULE_TYPE_KERNEL_KPROBE: create_from_payload = lttng_event_rule_kernel_kprobe_create_from_payload; break; - case LTTNG_EVENT_RULE_TYPE_KERNEL_FUNCTION: - /* TODO */ - break; case LTTNG_EVENT_RULE_TYPE_KERNEL_UPROBE: create_from_payload = lttng_event_rule_kernel_uprobe_create_from_payload; break; @@ -341,8 +337,6 @@ const char *lttng_event_rule_type_str(enum lttng_event_rule_type type) return "kernel syscall"; case LTTNG_EVENT_RULE_TYPE_KERNEL_KPROBE: return "kernel kprobe"; - case LTTNG_EVENT_RULE_TYPE_KERNEL_FUNCTION: - return "function"; case LTTNG_EVENT_RULE_TYPE_KERNEL_UPROBE: return "kernel uprobe"; case LTTNG_EVENT_RULE_TYPE_KERNEL_TRACEPOINT: