Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: paul_woegerer@mentor.com (Paul Woegerer)
Subject: [lttng-dev] [PATCH lttng-ust 3/3] Allow suppressing of base-address-state tracing
Date: Thu, 28 Nov 2013 13:26:54 +0100	[thread overview]
Message-ID: <1385641614-18806-4-git-send-email-paul_woegerer@mentor.com> (raw)
In-Reply-To: <1385641614-18806-1-git-send-email-paul_woegerer@mentor.com>

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




  parent reply	other threads:[~2013-11-28 12:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-28 12:26 [lttng-dev] [PATCH lttng-ust 0/3] Solve remaining issues with " Paul Woegerer
2013-11-28 12:26 ` [lttng-dev] [PATCH lttng-ust 1/3] Integrate base-address statedump into lttng-ust Paul Woegerer
2013-11-28 12:26 ` [lttng-dev] [PATCH lttng-ust 2/3] Fix: baddr_statedump deadlock with JUL tracing Paul Woegerer
2013-11-28 12:26 ` Paul Woegerer [this message]
2013-11-28 15:59 ` [lttng-dev] [PATCH lttng-ust 0/3] Solve remaining issues with base-address-state tracing Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1385641614-18806-4-git-send-email-paul_woegerer@mentor.com \
    --to=paul_woegerer@mentor.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox