- includes respecting of the "-R <version" string from stap command line - includes no longer performing translation-time queries of system module/program addresses; instead using install-time tokens that module_init can compute/verify
I have figured out the plan for this. Some implementation work still to be done, not really scheduled yet.
The elfutils support for this is done.
With cross-instrumentation, the generated code will need to emit a variety of self-defense checks against kernel version, module loading state, etc. For example, including an explicit "uname -r" match assertion from build to run time would be good.
I haven't looked into this extensively, but my guess is that it requires: - different include paths when pulling in stap libraries - some target-specific rather than host-specific defines in the runtime and generated code - turning off the pin-a-module-while-compiling code in dwarf_derived_probe constructor - some command-line UI to do save the probe module aside after compiling - and some more UI to handle starting stapd on a pre-build probe module - opening dwfl using a different module set, in dwflpp::setup
When the perfmon support is integrated into systemtap there will be some need to check that the processor architecture matches up between the host and target. Unlike oprofile, libpfm doesn't have concept of generating events and performance monitoring configuration for anything other than the host machine. Thus, for the time being only a check that the host and target match up rather than an flag to select the appropriate architecture.
This part (run-time address relocations) is done.