[lttng-dev] [PATCH lttng-ust 3/3] Allow suppressing of base-address-state tracing
Paul Woegerer
paul_woegerer at mentor.com
Thu Nov 28 07:26:54 EST 2013
Signed-off-by: Paul Woegerer <paul_woegerer at mentor.com>
---
liblttng-ust-baddr/lttng-ust-baddr.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/liblttng-ust-baddr/lttng-ust-baddr.c b/liblttng-ust-baddr/lttng-ust-baddr.c
index 8412233..1e6e08d 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
--
1.8.4
More information about the lttng-dev
mailing list