Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: matthew.khouzam@ericsson.com (Matthew Khouzam)
Subject: [lttng-dev] ust libc and fork wrapper question
Date: Wed, 28 Aug 2013 14:05:03 -0400	[thread overview]
Message-ID: <521E3BCF.5060500@ericsson.com> (raw)

Hello tracing sages,

I was trying out the libc wrapper in ust. It works very well but does
not follow forks. (to be expected)

So I copied "liblttng-ust-fork.so" into my .libs directory along with
"liblttng-libc-wrapper.so".

I then run

$lttng create thing
$lttng enable-channel chan --buffer-uid
$lttng enable-event -a -k
$lttng start
$LD_PRELOAD="liblttng-ust-fork.so liblttng-libc-wrapper.so" firefox
$lttng stop
$lttng destroy

Aaaaaaaaaaand my trace has no events!

I am certain I am doing something wrong, any suggestions?

Matthew




             reply	other threads:[~2013-08-28 18:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-28 18:05 Matthew Khouzam [this message]
2013-08-28 18:47 ` [lttng-dev] [Solved] " Matthew Khouzam
2013-08-29 16:59   ` Francis Giraldeau

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=521E3BCF.5060500@ericsson.com \
    --to=matthew.khouzam@ericsson.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