It is not supported for 2.13.
Change-Id: If42b18115cc61da9ee17f281390280b21fdc35a6
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
LTTNG_EVENT_RULE_TYPE_UNKNOWN = -1,
LTTNG_EVENT_RULE_TYPE_KERNEL_SYSCALL = 0,
LTTNG_EVENT_RULE_TYPE_KERNEL_KPROBE = 1,
- LTTNG_EVENT_RULE_TYPE_KERNEL_FUNCTION = 2,
- LTTNG_EVENT_RULE_TYPE_KERNEL_TRACEPOINT = 3,
- LTTNG_EVENT_RULE_TYPE_KERNEL_UPROBE = 4,
- LTTNG_EVENT_RULE_TYPE_USER_TRACEPOINT = 5,
- LTTNG_EVENT_RULE_TYPE_JUL_LOGGING = 6,
- LTTNG_EVENT_RULE_TYPE_LOG4J_LOGGING = 7,
- LTTNG_EVENT_RULE_TYPE_PYTHON_LOGGING = 8,
+ LTTNG_EVENT_RULE_TYPE_KERNEL_TRACEPOINT = 2,
+ LTTNG_EVENT_RULE_TYPE_KERNEL_UPROBE = 3,
+ LTTNG_EVENT_RULE_TYPE_USER_TRACEPOINT = 4,
+ LTTNG_EVENT_RULE_TYPE_JUL_LOGGING = 5,
+ LTTNG_EVENT_RULE_TYPE_LOG4J_LOGGING = 6,
+ LTTNG_EVENT_RULE_TYPE_PYTHON_LOGGING = 7,
};
enum lttng_event_rule_status {
ret_code = LTTNG_OK;
break;
}
- case LTTNG_EVENT_RULE_TYPE_KERNEL_FUNCTION:
default:
abort();
break;
*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));
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;
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;
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: