X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Faction-executor.c;h=fc7d03d70a9fa4a3701ec5cce53ff98422df0a76;hp=2e6e27a8ce3febcfd0db7cbb100369ff7d974ca4;hb=17182cfd13b6d35cf8c80d4f9ccf8d2bdd1a05f2;hpb=c0374092ddafb9d5ea860665caf123bb17603226 diff --git a/src/bin/lttng-sessiond/action-executor.c b/src/bin/lttng-sessiond/action-executor.c index 2e6e27a8c..fc7d03d70 100644 --- a/src/bin/lttng-sessiond/action-executor.c +++ b/src/bin/lttng-sessiond/action-executor.c @@ -104,7 +104,7 @@ static const char *action_type_names[] = { static const char *get_action_name(const struct lttng_action *action) { - return action_type_names[lttng_action_get_type_const(action)]; + return action_type_names[lttng_action_get_type(action)]; } /* Check if this trigger allowed to interect with a given session. */ @@ -486,7 +486,7 @@ static int action_executor_generic_handler(struct action_executor *executor, work_item->trigger, work_item->id); - return action_executors[lttng_action_get_type_const(action)]( + return action_executors[lttng_action_get_type(action)]( executor, work_item, action); }