Fix: assert(0) when listing Python events with MI
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 19 Aug 2015 18:17:40 +0000 (14:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 21 Aug 2015 18:01:46 +0000 (14:01 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/config/config-session-abi.h
src/common/mi-lttng.c

index d8a37b718a1403f3c72b91fc89c3defdc3daaa3b..9251b22fc02bdfb942d4686249b84ab2699a9017 100644 (file)
@@ -77,6 +77,7 @@ extern const char * const config_domain_type_kernel;
 extern const char * const config_domain_type_ust;
 extern const char * const config_domain_type_jul;
 extern const char * const config_domain_type_log4j;
+extern const char * const config_domain_type_python;
 
 extern const char * const config_buffer_type_per_pid;
 extern const char * const config_buffer_type_per_uid;
index f2d223f86d95878693996e8fadc48a2b2b320515..9d6500ba4e72f9f03e9638a3fe31bc82e6098fa7 100644 (file)
@@ -398,6 +398,8 @@ const char *mi_lttng_domaintype_string(enum lttng_domain_type value)
                return config_domain_type_jul;
        case LTTNG_DOMAIN_LOG4J:
                return config_domain_type_log4j;
+       case LTTNG_DOMAIN_PYTHON:
+               return config_domain_type_python;
        default:
                /* Should not have an unknown domain */
                assert(0);
This page took 0.02633 seconds and 4 git commands to generate.