action list: missing renames from previous name "group"
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 8 Jun 2021 21:21:30 +0000 (17:21 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 11 Jun 2021 20:48:08 +0000 (16:48 -0400)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I4373984c2bea96dc67880b1bbb361fb8fbc014ca

include/lttng/action/action-internal.h
include/lttng/action/list-internal.h
include/lttng/action/list.h
src/bin/lttng/commands/add_trigger.c

index 55e34163b1cb14749bd6451c51605cf766da5d51..0649333f2d4d73a85250fa573e6ceeb811b4e12e 100644 (file)
@@ -122,7 +122,7 @@ enum lttng_action_status lttng_action_add_error_query_results(
 /*
  * For use by the various lttng_action implementation. Implements the default
  * behavior to the generic error "execution failure counter" that all actions
- * (except group, which passes-through) provide.
+ * (except list, which passes-through) provide.
  */
 LTTNG_HIDDEN
 enum lttng_action_status lttng_action_generic_add_error_query_results(
index 9e88422cafce47ae6918dc957ab85ca59f195082..4aca7fa2721bfd77ad2c1dc2b94d98e0d9cdb661 100644 (file)
@@ -19,15 +19,15 @@ struct lttng_payload_view;
  * Create an action list from a payload view.
  *
  * On success, return the number of bytes consumed from `view`, and the created
- * group in `*group`. On failure, return -1.
+ * list in `*list`. On failure, return -1.
  */
 LTTNG_HIDDEN
 extern ssize_t lttng_action_list_create_from_payload(
                struct lttng_payload_view *view,
-               struct lttng_action **group);
+               struct lttng_action **list);
 
 LTTNG_HIDDEN
 extern struct lttng_action *lttng_action_list_borrow_mutable_at_index(
-               const struct lttng_action *group, unsigned int index);
+               const struct lttng_action *list, unsigned int index);
 
 #endif /* LTTNG_ACTION_LIST_INTERNAL_H */
index 888c1237e10a5c7f908a5736355c177251b6d2ff..f7331f0839beaa22119373570e1697301ea46372 100644 (file)
@@ -28,30 +28,30 @@ extern struct lttng_action *lttng_action_list_create(void);
  *
  * The action list acquires a reference to the action. The action can be
  * safely destroyed after calling this function. An action must not be
- * modified after adding it to a group.
+ * modified after adding it to a list.
  *
  * Adding an action list to an action list is not supported.
  */
 extern enum lttng_action_status lttng_action_list_add_action(
-               struct lttng_action *group, struct lttng_action *action);
+               struct lttng_action *list, struct lttng_action *action);
 
 /*
  * Get the number of actions in an action list.
  */
 extern enum lttng_action_status lttng_action_list_get_count(
-               const struct lttng_action *group, unsigned int *count);
+               const struct lttng_action *list, unsigned int *count);
 
 /*
  * Get an action from the action list at a given index.
  *
- * Note that the group maintains the ownership of the returned action.
+ * Note that the list maintains the ownership of the returned action.
  * It must not be destroyed by the user, nor should it be held beyond
  * the lifetime of the action list.
  *
  * Returns an action, or NULL on error.
  */
 extern const struct lttng_action *lttng_action_list_get_at_index(
-               const struct lttng_action *group,
+               const struct lttng_action *list,
                unsigned int index);
 
 #ifdef __cplusplus
index 5b41ad0537d41e6effb00231490a307b1f5f9c72..73bb0167c47949e1f2db5ee6bae826336915310a 100644 (file)
@@ -2278,7 +2278,7 @@ int cmd_add_trigger(int argc, const char **argv)
                                goto error;
                        }
 
-                       /* Ownership of the action was transferred to the group. */
+                       /* Ownership of the action was transferred to the list. */
                        action = NULL;
 
                        break;
This page took 0.028101 seconds and 4 git commands to generate.