From: Philippe Proulx Date: Wed, 19 Aug 2015 18:17:40 +0000 (-0400) Subject: Fix: assert(0) when listing Python events with MI X-Git-Tag: v2.8.0-rc1~479 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b789735ec96305f2e14fc9b9c75406ca215ddabb;p=lttng-tools.git Fix: assert(0) when listing Python events with MI Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/config/config-session-abi.h b/src/common/config/config-session-abi.h index d8a37b718..9251b22fc 100644 --- a/src/common/config/config-session-abi.h +++ b/src/common/config/config-session-abi.h @@ -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; diff --git a/src/common/mi-lttng.c b/src/common/mi-lttng.c index cc2d25b52..e2181f692 100644 --- a/src/common/mi-lttng.c +++ b/src/common/mi-lttng.c @@ -395,6 +395,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);