I cross-compiled lttng-ust and that example, but when I run the following commands on the platform no traces are recorded. If I use the same example on my x86 machine everything works as expected. (And kernelspace tracing is working on that aarch64 system.)
Any hints where I could start investigating the issue are welcome.
~ # pwd
/root
~ # lttng create
Spawning a session daemon
Session auto-20200720-174509 created.
Traces will be written in /root/lttng-traces/auto-20200720-174509
~ # lttng enable-event -au
All UST events are enabled in channel channel0
~ # lttng start
Tracing started for session auto-20200720-174509
~ # ./hello
Hello, World!
Tracing... done.
~ # lttng destroy
Session auto-20200720-174509 destroyed
~ # ll
total 40
-rwxr-xr-x 1 root root 39280 Jul 20 17:44 hello*