projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename action group to action list
[lttng-tools.git]
/
tests
/
regression
/
tools
/
trigger
/
utils
/
notification-client.c
diff --git
a/tests/regression/tools/trigger/utils/notification-client.c
b/tests/regression/tools/trigger/utils/notification-client.c
index 7e92cba6156f147845a53f2fdb43839352bc7055..ac572bfc6d870233570adafeb267de0978f43c97 100644
(file)
--- a/
tests/regression/tools/trigger/utils/notification-client.c
+++ b/
tests/regression/tools/trigger/utils/notification-client.c
@@
-36,22
+36,22
@@
static struct option long_options[] =
{0, 0, 0, 0}
};
{0, 0, 0, 0}
};
-static bool action_
group
_contains_notify(
- const struct lttng_action *action_
group
)
+static bool action_
list
_contains_notify(
+ const struct lttng_action *action_
list
)
{
unsigned int i, count;
enum lttng_action_status status =
{
unsigned int i, count;
enum lttng_action_status status =
- lttng_action_
group_get_count(action_group
, &count);
+ lttng_action_
list_get_count(action_list
, &count);
if (status != LTTNG_ACTION_STATUS_OK) {
if (status != LTTNG_ACTION_STATUS_OK) {
- printf("Failed to get action count from action
group
\n");
+ printf("Failed to get action count from action
list
\n");
exit(1);
}
for (i = 0; i < count; i++) {
const struct lttng_action *action =
exit(1);
}
for (i = 0; i < count; i++) {
const struct lttng_action *action =
- lttng_action_
group
_get_at_index(
- action_
group
, i);
+ lttng_action_
list
_get_at_index(
+ action_
list
, i);
const enum lttng_action_type action_type =
lttng_action_get_type(action);
const enum lttng_action_type action_type =
lttng_action_get_type(action);
@@
-181,7
+181,7
@@
int main(int argc, char **argv)
}
}
if (!((action_type == LTTNG_ACTION_TYPE_GROUP &&
}
}
if (!((action_type == LTTNG_ACTION_TYPE_GROUP &&
- action_
group
_contains_notify(action)) ||
+ action_
list
_contains_notify(action)) ||
action_type == LTTNG_ACTION_TYPE_NOTIFY)) {
/* "The action of trigger is not notify, skipping. */
continue;
action_type == LTTNG_ACTION_TYPE_NOTIFY)) {
/* "The action of trigger is not notify, skipping. */
continue;
This page took
0.025227 seconds
and
4
git commands to generate.