archive mirror
 help / color / mirror / Atom feed
From: Jonathan Rajotte-Julien via lttng-dev <>
To: Ramesh Errabolu <>
Subject: Re: [lttng-dev] Can't trace function calls
Date: Wed, 31 Mar 2021 13:42:01 -0400	[thread overview]
Message-ID: <20210331174201.GB28307@joraj-alpa> (raw)
In-Reply-To: <>


On Wed, Mar 31, 2021 at 10:51:03AM -0500, Ramesh Errabolu via lttng-dev wrote:
> I am trying to capture the list of functions being called by an app. The
> app relies on a couple of shared libraries ( and


> My experiments all *FAIL *i.e. there are no log files of the output.

Not sure what you mean here. But let's continue first. 

> The
> link on lttng-ust-cyg-profile does not tell me where I can get them.

Could you share the "link" in question?

> Instrument the build files for the two libraries to allow function tracing
> by the gcc/clang flags -finstrument-functions and run workload as follows
>    - Instrument the build files for the two libraries to allow function
>    tracing by the gcc/clang flags *-finstrument-functions* and run workload
>    as follows

Okai. I expect that you have read this: 

and this

> I am using LTTng version Ubuntu: LTTng Stable 2.12 PPA
>    - apt-get install lttng-tools
>    - apt-get install lttng-modules-dkms
>    - apt-get install liblttng-ust-dev

Looks good.

> I noticed no kernel modules with substring "ltt" in it.

Okai so this is where we need much more information. 

First of all, what are the lttng commands used for your experiments? (lttng create, lttng enable-channel, lttng enable-event...) 
Please provide a sample script of your experiments. 

Second, you are mostly performing userspace tracing here, lttng-modules ( the
kernel tracer) might not even be needed here unless you also want to do kernel

What do you mean by "there are no log files of the output."? LTTng produces
traces encoded in CTF (Common Trace Format) that must be read by a reader
(Babeltrace most of the time).


Jonathan Rajotte-Julien
lttng-dev mailing list

  reply	other threads:[~2021-03-31 17:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-31 15:51 Ramesh Errabolu via lttng-dev
2021-03-31 17:42 ` Jonathan Rajotte-Julien via lttng-dev [this message]
2021-03-31 17:55   ` Ramesh Errabolu via lttng-dev
2021-04-02 15:07     ` Jonathan Rajotte-Julien via lttng-dev

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:

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

  git send-email \
    --in-reply-to=20210331174201.GB28307@joraj-alpa \ \ \ \
    --subject='Re: [lttng-dev] Can'\''t trace function calls' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).