projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng-ctl: implement listing of userspace probe locations
[deliverable/lttng-tools.git]
/
src
/
common
/
trigger.c
diff --git
a/src/common/trigger.c
b/src/common/trigger.c
index 1de1b3b490328c05dc4d7e1f5bc2acc4d88ba692..a4130ec312ff293460834849a92556680fb2f730 100644
(file)
--- a/
src/common/trigger.c
+++ b/
src/common/trigger.c
@@
-64,12
+64,26
@@
struct lttng_condition *lttng_trigger_get_condition(
return trigger ? trigger->condition : NULL;
}
return trigger ? trigger->condition : NULL;
}
+LTTNG_HIDDEN
+const struct lttng_condition *lttng_trigger_get_const_condition(
+ const struct lttng_trigger *trigger)
+{
+ return trigger->condition;
+}
+
struct lttng_action *lttng_trigger_get_action(
struct lttng_trigger *trigger)
{
return trigger ? trigger->action : NULL;
}
struct lttng_action *lttng_trigger_get_action(
struct lttng_trigger *trigger)
{
return trigger ? trigger->action : NULL;
}
+LTTNG_HIDDEN
+const struct lttng_action *lttng_trigger_get_const_action(
+ const struct lttng_trigger *trigger)
+{
+ return trigger->action;
+}
+
void lttng_trigger_destroy(struct lttng_trigger *trigger)
{
if (!trigger) {
void lttng_trigger_destroy(struct lttng_trigger *trigger)
{
if (!trigger) {
This page took
0.02468 seconds
and
5
git commands to generate.