The README files in the source tarballs available on http://lttng.org/download seem to assume that one is building on the same Linux system that will be the target for traces. I've found other resources that explain how to do this (the LTTng Project YouTube channel has very nice screencasts), but I can't find any instructions for how to cross-compile LTTng (specifically, I guess, liburcu, LTTng-UST, LTTng-tools, and LTTng-modules), and install it all on a embedded Linux system (where I can build or rebuild the kernel, use a device tree blob and—for now—a ramdisk-based file system).
Where can I find details on how to do this?
Update: As Marko points out in the first comment below, the LTTng tools are built using autoconf
. I understand in theory that I can figure out a "--host" option to configure
, similar to this answer. And perhaps I need a parameter like "ARCH=arm" to make
like I use when building the kernel. But what is the cross-compilation equivalent of make install
that is used when building the LTTng components on the same machine where they'll be used?