Fix: use the config_event_type instead of opt_event_type
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 16 Jun 2016 14:04:08 +0000 (10:04 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 11 Jul 2016 15:20:32 +0000 (11:20 -0400)
src/bin/lttng/commands/enable_events.c

index 90bd43e48fbbaa69fddc263c89bcdbbfaca93fbd..129f86d0f25193598a7e284ce77592f701fab8ff 100644 (file)
@@ -1034,7 +1034,7 @@ static int enable_events(char *session_name, struct domain_configuration *config
 
                        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;
This page took 0.027732 seconds and 5 git commands to generate.