syscall_rule->parent.hash = lttng_event_rule_syscall_hash;
/* Default pattern is '*'. */
- status = lttng_event_rule_syscall_set_pattern(rule, "*");
+ status = lttng_event_rule_syscall_set_name_pattern(rule, "*");
if (status != LTTNG_EVENT_RULE_STATUS_OK) {
lttng_event_rule_destroy(rule);
rule = NULL;
skip_filter_expression:
- status = lttng_event_rule_syscall_set_pattern(rule, pattern);
+ status = lttng_event_rule_syscall_set_name_pattern(rule, pattern);
if (status != LTTNG_EVENT_RULE_STATUS_OK) {
ERR("Failed to set event rule syscall pattern");
ret = -1;
return ret;
}
-enum lttng_event_rule_status lttng_event_rule_syscall_set_pattern(
+enum lttng_event_rule_status lttng_event_rule_syscall_set_name_pattern(
struct lttng_event_rule *rule, const char *pattern)
{
char *pattern_copy = NULL;
return status;
}
-enum lttng_event_rule_status lttng_event_rule_syscall_get_pattern(
+enum lttng_event_rule_status lttng_event_rule_syscall_get_name_pattern(
const struct lttng_event_rule *rule, const char **pattern)
{
struct lttng_event_rule_syscall *syscall;