From: Paul Woegerer Date: Thu, 28 Nov 2013 12:26:54 +0000 (+0100) Subject: Allow suppressing of base-address-state tracing X-Git-Tag: v2.4.0-rc2~12 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ca7643d600c284ebf884fd72b93f41c5edb5d2f2;p=lttng-ust.git Allow suppressing of base-address-state tracing Signed-off-by: Paul Woegerer Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust-baddr/lttng-ust-baddr.c b/liblttng-ust-baddr/lttng-ust-baddr.c index 84122334..1e6e08dc 100644 --- a/liblttng-ust-baddr/lttng-ust-baddr.c +++ b/liblttng-ust-baddr/lttng-ust-baddr.c @@ -99,6 +99,8 @@ extract_soinfo_events(struct dl_phdr_info *info, size_t size, void *data) int lttng_ust_baddr_statedump(struct lttng_session *session) { + if (getenv("LTTNG_UST_WITHOUT_BADDR_STATEDUMP")) + return 0; /* * Iterate through the list of currently loaded shared objects and * generate events for loadable segments using extract_soinfo_events