Allow suppressing of base-address-state tracing
authorPaul Woegerer <paul_woegerer@mentor.com>
Thu, 28 Nov 2013 12:26:54 +0000 (13:26 +0100)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 28 Nov 2013 15:55:00 +0000 (16:55 +0100)
Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-baddr/lttng-ust-baddr.c

index 841223349a146e3c5f1d821dab92c5abc20bfecb..1e6e08dc6343627a2a261dca4619798b7993915b 100644 (file)
@@ -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
This page took 0.025713 seconds and 4 git commands to generate.