projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
action: Mark parameter of lttng_action_get_type as const
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
action-executor.c
diff --git
a/src/bin/lttng-sessiond/action-executor.c
b/src/bin/lttng-sessiond/action-executor.c
index 2e6e27a8ce3febcfd0db7cbb100369ff7d974ca4..fc7d03d70a9fa4a3701ec5cce53ff98422df0a76 100644
(file)
--- 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)
{
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. */
}
/* 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);
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);
}
executor, work_item, action);
}
This page took
0.024279 seconds
and
4
git commands to generate.