10-15-2018 02:20 PM
So there appear to be several packages for LTTng available via opkg, and we'd absolutely love to install them in order to trace some weirdness in one of our applications -- but when I run the installs, even though no errors are thrown, I can't actually find a "lttng" executable anywhere on the system afterwards. Is there another set of packages that I should be installing as well? Some configuration I need to run?
The actual "opkg install lttng* -V4" command runs without any visible errors or warnings.
Solved! Go to Solution.
10-16-2018 08:17 AM
I should also note that after installing a huge number of additional dependencies, I can get the *-ust portion of the LTTng package to compile successfully, but am running into weird makefile issues with the other two portions ("tools" and "modules") of the build. I've reached out to the LTTng project as well, but was hoping that someone out there had already made this work.
10-16-2018 11:18 AM
If anybody can tell me where I can find the Linux headers for RT, that would be absolutely fantastic.
10-16-2018 03:22 PM - edited 10-16-2018 03:25 PM
For future reference, for anyone trying to build something using an existing Makefile but wondering where the hell the headers are, you will find these commands useful:
source /usr/local/natinst/tools/versioning_utils.sh
setup_versioning_env
make KERNELDIR=/var/volatile/tmp/headers/kernel
(Also, if you're going to install LTTng, don't use the version of the *-ust tree available in opkg. It's non-executable and out of date, and will actually prevent you from successfully building the other two components of the full install.)