projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: lttng-sessiond: fix -Wshadow error in check_session_rotation_pending
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
event.c
diff --git
a/src/bin/lttng-sessiond/event.c
b/src/bin/lttng-sessiond/event.c
index 125adb9a058bf4fdedac31a1daaeaa02733c26c5..136617d7775d849b8b57c3be0026832ece3c30fb 100644
(file)
--- a/
src/bin/lttng-sessiond/event.c
+++ b/
src/bin/lttng-sessiond/event.c
@@
-13,7
+13,7
@@
#include <common/compat/errno.h>
#include <lttng/lttng.h>
#include <lttng/condition/condition.h>
#include <common/compat/errno.h>
#include <lttng/lttng.h>
#include <lttng/condition/condition.h>
-#include <lttng/condition/
event-rule
.h>
+#include <lttng/condition/
on-event
.h>
#include <lttng/event-rule/event-rule.h>
#include <lttng/event-rule/event-rule-internal.h>
#include <common/bytecode/bytecode.h>
#include <lttng/event-rule/event-rule.h>
#include <lttng/event-rule/event-rule-internal.h>
#include <common/bytecode/bytecode.h>
@@
-169,7
+169,7
@@
int event_ust_enable_tracepoint(struct ltt_ust_session *usess,
rcu_read_lock();
uevent = trace_ust_find_event(uchan->events, event->name, filter,
rcu_read_lock();
uevent = trace_ust_find_event(uchan->events, event->name, filter,
- (enum lttng_ust_loglevel_type) event->loglevel_type,
+ (enum lttng_ust_
abi_
loglevel_type) event->loglevel_type,
event->loglevel, exclusion);
if (!uevent) {
ret = trace_ust_create_event(event, filter_expression,
event->loglevel, exclusion);
if (!uevent) {
ret = trace_ust_create_event(event, filter_expression,
@@
-601,9
+601,9
@@
int trigger_agent_enable(const struct lttng_trigger *trigger, struct agent *agt)
condition = lttng_trigger_get_const_condition(trigger);
assert(lttng_condition_get_type(condition) ==
condition = lttng_trigger_get_const_condition(trigger);
assert(lttng_condition_get_type(condition) ==
- LTTNG_CONDITION_TYPE_
EVENT_RULE_HI
T);
+ LTTNG_CONDITION_TYPE_
ON_EVEN
T);
- c_status = lttng_condition_
event_rule
_get_rule(condition, &rule);
+ c_status = lttng_condition_
on_event
_get_rule(condition, &rule);
assert(c_status == LTTNG_CONDITION_STATUS_OK);
assert(lttng_event_rule_get_type(rule) ==
assert(c_status == LTTNG_CONDITION_STATUS_OK);
assert(lttng_event_rule_get_type(rule) ==
@@
-780,7
+780,7
@@
static int event_agent_disable_one(struct ltt_ust_session *usess,
* ignored since the type is LTTNG_UST_LOGLEVEL_ALL.
*/
uevent = trace_ust_find_event(uchan->events, (char *) ust_event_name,
* ignored since the type is LTTNG_UST_LOGLEVEL_ALL.
*/
uevent = trace_ust_find_event(uchan->events, (char *) ust_event_name,
- aevent->filter, LTTNG_UST_LOGLEVEL_ALL, -1, NULL);
+ aevent->filter, LTTNG_UST_
ABI_
LOGLEVEL_ALL, -1, NULL);
/* If the agent event exists, it must be available on the UST side. */
assert(uevent);
/* If the agent event exists, it must be available on the UST side. */
assert(uevent);
This page took
0.048052 seconds
and
4
git commands to generate.