All of lore.kernel.org
 help / color / mirror / Atom feed
From: David OShea <David.OShea@quantum.com>
To: "Jérémie Galarneau" <jeremie.galarneau@efficios.com>,
	"Thibault, Daniel" <Daniel.Thibault@drdc-rddc.gc.ca>
Cc: "lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org>
Subject: Re: dlopen, gcc -l and LD_PRELOAD
Date: Tue, 19 Mar 2013 04:54:05 +0000	[thread overview]
Message-ID: <20998D40D9A2B7499CA5A3A2666CB1EB23FCD7EF__27406.8057108254$1363669670$gmane$org@ZURMSG1.QUANTUM.com> (raw)
In-Reply-To: <CA+jJMxvD+g9kPeeqP5hbELOk40qMwD-+UBfMUVNRQfypXk_ycw@mail.gmail.com>

Hi all,

> -----Original Message-----
> From: Jérémie Galarneau [mailto:jeremie.galarneau@efficios.com]
> Sent: Tuesday, 19 March 2013 7:28 AM
> To: Thibault, Daniel
> Cc: lttng-dev@lists.lttng.org
> Subject: Re: [lttng-dev] dlopen, gcc -l and LD_PRELOAD


> > Good question. I think this problem has been fixed as part of the 2.1
> release. However, I do know there are other issues related to
> "dlopen()"-ing probe providers; details on the bug tracker[1].
> >
> > Jérémie
> > [1] https://bugs.lttng.org/issues/447
> > -----Fin du message d'origine-----
> >
> >    Bug 447 concerns dlclose(), not dlopen().  It's a legitimate
> concern (that has yet to be addressed, it seems), but it has nothing to
> do with potential delays or deadlocks upon calling dlopen() on a
> tracepoint provider.

[...]

> Typically, you would want to do one or the other [dlopen or
> LD_PRELOAD]. But to answer your question, yes, this would workaround
> the locking problem described in the man page that affected prior
> versions of lttng-ust (before 2.1).

FYI I mentioned my email to this list dated 25/Feb/2013 that:

"I noticed that commit ID b834deadbfa8a78ae1d00440fd91c41dfd351eba changed README to remove a note suggesting that dlopen() not be used.  It looks like the same change should be made to doc/man/lttng-ust.3, which still suggests that you not use dlopen()."

Just a reminder that it does appear to have been intended that that note be removed, so it should probably be disregarded.

Also, if anyone is able to provide explanations for the questions in my previous email, that might serve to address the topic of this thread too.

Thanks,
David

----------------------------------------------------------------------
The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.

  parent reply	other threads:[~2013-03-19  5:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <48CF5AC71E61DB46B70D0F388054EFFD027A2C@VAL-E-01.valcartier.drdc-rddc.gc.ca>
2013-03-15 19:33 ` dlopen, gcc -l and LD_PRELOAD Jérémie Galarneau
     [not found] ` <CA+jJMxvm5=mms0BwFtDEy8CKuYOM08K7EYCddKWoRY2VSbxV1Q@mail.gmail.com>
     [not found]   ` <48CF5AC71E61DB46B70D0F388054EFFD028674@VAL-E-01.valcartier.drdc-rddc.gc.ca>
2013-03-18 20:58     ` Jérémie Galarneau
     [not found]     ` <CA+jJMxvD+g9kPeeqP5hbELOk40qMwD-+UBfMUVNRQfypXk_ycw@mail.gmail.com>
2013-03-19  4:54       ` David OShea [this message]
     [not found]       ` <20998D40D9A2B7499CA5A3A2666CB1EB23FCD7EF@ZURMSG1.QUANTUM.com>
2013-03-19 14:03         ` Thibault, Daniel
     [not found]         ` <48CF5AC71E61DB46B70D0F388054EFFD028844@VAL-E-01.valcartier.drdc-rddc.gc.ca>
2013-03-19 15:51           ` Jérémie Galarneau
2013-03-20 16:52 Thibault, Daniel
     [not found] <48CF5AC71E61DB46B70D0F388054EFFD028AB5@VAL-E-01.valcartier.drdc-rddc.gc.ca>
2013-03-20 16:38 ` Christian Babeux
  -- strict thread matches above, loose matches on Subject: below --
2013-03-20 16:00 Thibault, Daniel
2013-03-15 16:41 Thibault, Daniel

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='20998D40D9A2B7499CA5A3A2666CB1EB23FCD7EF__27406.8057108254$1363669670$gmane$org@ZURMSG1.QUANTUM.com' \
    --to=david.oshea@quantum.com \
    --cc=Daniel.Thibault@drdc-rddc.gc.ca \
    --cc=jeremie.galarneau@efficios.com \
    --cc=lttng-dev@lists.lttng.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.