projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: use the config_event_type instead of opt_event_type
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
enable_events.c
diff --git
a/src/bin/lttng/commands/enable_events.c
b/src/bin/lttng/commands/enable_events.c
index 90bd43e48fbbaa69fddc263c89bcdbbfaca93fbd..129f86d0f25193598a7e284ce77592f701fab8ff 100644
(file)
--- a/
src/bin/lttng/commands/enable_events.c
+++ b/
src/bin/lttng/commands/enable_events.c
@@
-1034,7
+1034,7
@@
static int enable_events(char *session_name, struct domain_configuration *config
if (config_exclude) {
ev.exclusion = 1;
if (config_exclude) {
ev.exclusion = 1;
- if (config_event_type != LTTNG_EVENT_ALL &&
opt
_event_type != LTTNG_EVENT_TRACEPOINT) {
+ if (config_event_type != LTTNG_EVENT_ALL &&
config
_event_type != LTTNG_EVENT_TRACEPOINT) {
ERR("Exclusion option can only be used with tracepoint events");
ret = CMD_ERROR;
goto error;
ERR("Exclusion option can only be used with tracepoint events");
ret = CMD_ERROR;
goto error;
This page took
0.026612 seconds
and
5
git commands to generate.