X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Factions%2Faction.c;h=498e41f79405fb2fe71488f91c29b4cdec1ef907;hb=9cf55c3c24472f49abac1957ae625190bb95b48d;hp=d4b9c09ebfab716f6a7d2becd13d2e953f1871c9;hpb=588c4b0d153e8919b8d9159b69ce0db8fbe52af0;p=lttng-tools.git diff --git a/src/common/actions/action.c b/src/common/actions/action.c index d4b9c09eb..498e41f79 100644 --- a/src/common/actions/action.c +++ b/src/common/actions/action.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include #include @@ -23,8 +23,8 @@ const char *lttng_action_type_string(enum lttng_action_type action_type) switch (action_type) { case LTTNG_ACTION_TYPE_UNKNOWN: return "UNKNOWN"; - case LTTNG_ACTION_TYPE_GROUP: - return "GROUP"; + case LTTNG_ACTION_TYPE_LIST: + return "LIST"; case LTTNG_ACTION_TYPE_NOTIFY: return "NOTIFY"; case LTTNG_ACTION_TYPE_ROTATE_SESSION: @@ -191,8 +191,8 @@ ssize_t lttng_action_create_from_payload(struct lttng_payload_view *view, create_from_payload_cb = lttng_action_stop_session_create_from_payload; break; - case LTTNG_ACTION_TYPE_GROUP: - create_from_payload_cb = lttng_action_group_create_from_payload; + case LTTNG_ACTION_TYPE_LIST: + create_from_payload_cb = lttng_action_list_create_from_payload; break; default: ERR("Failed to create action from payload, unhandled action type: action-type=%u (%s)",