On 19 October 2014 17:45, Christian Hofstaedtler <z...@debian.org> wrote: > No, I don't know where systemtap would look for the file. If that > locations works, that's fine with me.
Apparently systemtap expects tapfiles to be located in "x86_64" on amd64 systems and in "i386" on i386 systems. However, DEB_HOST_GNU_CPU corresponds to the CPU type (i.e. "i568" on most 32-bit x86 systems) and DEB_HOST_ARCH corresponds to the host architecture (i.e. "amd64" on 64-bit x86 systems). Therefore, it is probably better to simply install the files to /usr/share/systemtap/tapset/libruby2.1-${DEB_HOST_MULTIARCH}.stp. On my amd64 jessie test system multiarch installation and tracing worked nicely using the attached patch.
0001-Install-SystemTap-tap-file.patch
Description: Binary data