lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* [lttng-dev] Can't trace function calls
@ 2021-03-31 15:51 Ramesh Errabolu via lttng-dev
  2021-03-31 17:42 ` Jonathan Rajotte-Julien via lttng-dev
  0 siblings, 1 reply; 4+ messages in thread
From: Ramesh Errabolu via lttng-dev @ 2021-03-31 15:51 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 1086 bytes --]

I am trying to capture the list of functions being called by an app. The
app relies on a couple of shared libraries (libhsa-runtime64.so and
libhsakmt.so).

My experiments all *FAIL *i.e. there are no log files of the output. The
link on lttng-ust-cyg-profile does not tell me where I can get them.
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
      - LD_PRELOAD=liblttng-ust-cyg-profile.so   ./rocminfo
   - Instrument the application as well for the gcc/clang flag along with
   the two libs
   - LD_PRELOAD=liblttng-ust-cyg-profile.so   ./rocminfo

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

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

Any help is appreciated.

Regards,
Ramesh

[-- Attachment #1.2: Type: text/html, Size: 1937 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-02 15:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-31 15:51 [lttng-dev] Can't trace function calls Ramesh Errabolu via lttng-dev
2021-03-31 17:42 ` Jonathan Rajotte-Julien via lttng-dev
2021-03-31 17:55   ` Ramesh Errabolu via lttng-dev
2021-04-02 15:07     ` Jonathan Rajotte-Julien via lttng-dev

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).