<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">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). <br><br>My experiments all <b>FAIL </b>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.<br>Instrument the build files for the two libraries to allow function tracing by the gcc/clang flags -finstrument-functions and run workload as follows</div><div class="gmail_default" style="font-family:verdana,sans-serif"><ul><li>Instrument the build files for the two libraries to allow function tracing by the gcc/clang flags <b>-finstrument-functions</b> and run workload as follows</li><ul><li>LD_PRELOAD=liblttng-ust-cyg-profile.so   ./rocminfo</li></ul><li>Instrument the application as well for the gcc/clang flag along with the two libs<br></li><ul><li>LD_PRELOAD=liblttng-ust-cyg-profile.so   ./rocminfo</li></ul></ul></div><div class="gmail_default" style="font-family:verdana,sans-serif">I am using LTTng version <span style="font-family:Arial,Helvetica,sans-serif">Ubuntu: LTTng Stable 2.12 PPA</span></div><ul><li>apt-get install lttng-tools</li><li>apt-get install lttng-modules-dkms</li><li>apt-get install liblttng-ust-dev</li></ul><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div class="gmail_default" style="font-family:verdana,sans-serif">I noticed no kernel modules with substring "ltt" in it.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Any help is appreciated.</div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Regards,<div>Ramesh</div></div></div></div>