Re: [lttng-dev] Can't trace function calls

2021-04-02 Thread Jonathan Rajotte-Julien via lttng-dev
On Wed, Mar 31, 2021 at 12:55:53PM -0500, Ramesh Errabolu wrote: > root@RocrLnx23:~/git/compute/out/ubuntu-18.04/18.04/bin# ls ~/ | grep -i ltt > root@RocrLnx23:~/git/compute/out/ubuntu-18.04/18.04/bin# lttng create > my-kernel-session --output=~/my-kernel-trace > Session my-kernel-session created.

Re: [lttng-dev] Can't trace function calls

2021-03-31 Thread Ramesh Errabolu via lttng-dev
Thanks for the quick response, appreciate it. At a high level this is what I did. 1. reboot 2. login as sudo 3. set LD_LIBRARY_PATH to point to right locations 4. ldd of executable to show right library versions are picked up 5. execute the workload by specifiy LD_PRELOAD env varia

Re: [lttng-dev] Can't trace function calls

2021-03-31 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, 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 (libhsa-runtime64.so and > libhsakmt.so). ok. > > My experiments all *FAIL *i.e. there are n

[lttng-dev] Can't trace function calls

2021-03-31 Thread Ramesh Errabolu via lttng-dev
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.