From: Jonathan Rajotte-Julien via lttng-dev <lttng-dev@lists.lttng.org>
To: Ramesh Errabolu <ramesh.errabolu@gmail.com>
Cc: lttng-dev@lists.lttng.org
Subject: Re: [lttng-dev] lttng-dev Digest, Vol 156, Issue 3
Date: Tue, 6 Apr 2021 19:46:21 -0400 [thread overview]
Message-ID: <20210406234621.GA913141@joraj-alpa> (raw)
In-Reply-To: <CAFGSPrzx05pqvjC7UzxHZWuk38_zhUfBEiq0oUc21-yxggp5tQ@mail.gmail.com>
> I followed your command sequence and noticed a bunch of files being
> created. However when I tried to run babeltrace on these outputs I don't
> see any of the functions that should have been called. Including below the
> search for symbols.
At least userspace tracing seems to work.
I would recommended, again, that you first try tracing on a dummy application, a
really simple one. Then move to the usage of cyg_profile on that dummy app then
to your application.
The cyg profile events are the following:
lttng_ust_cyg_profile_fast:func_entry
lttng_ust_cyg_profile_fast:func_exit
and, when using liblttng-ust-cyg-profile.so:
lttng_ust_cyg_profile:func_entry
lttng_ust_cyg_profile:func_exit
I would recommend that you first start grep-ing (lttng_ust_cyg) for this in the
trace to see if any is getting hit and recorded. If it is not the case, take a
step back try with a dummy app and if nothing works with the dummy app we can at
least try to help you from there and remove all other variable since you will be
able to share the dummy app with us.
Cheers
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
next prev parent reply other threads:[~2021-04-06 23:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1.1617379201.29396.lttng-dev@lists.lttng.org>
2021-04-06 1:32 ` [lttng-dev] lttng-dev Digest, Vol 156, Issue 3 Ramesh Errabolu via lttng-dev
2021-04-06 13:11 ` Jonathan Rajotte-Julien via lttng-dev
2021-04-06 23:09 ` Ramesh Errabolu via lttng-dev
2021-04-06 23:46 ` Jonathan Rajotte-Julien via lttng-dev [this message]
2021-04-06 23:56 ` Ramesh Errabolu 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:
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=20210406234621.GA913141@joraj-alpa \
--to=lttng-dev@lists.lttng.org \
--cc=jonathan.rajotte-julien@efficios.com \
--cc=ramesh.errabolu@gmail.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;
as well as URLs for NNTP newsgroup(s).