If you don't have ELF shared libraries, you may need to modify collect/init.h. In a pinch, you might even need to go so far as calling pct_on(argv) from your main() function. To be minimally annoying, this still only activates profiling when PCT is set. The most useful collector, collect/itimer.c, has definitions in itimer.h for various CPUs and operating systems. The script collect/gen-maps probably also needs to be ammended for some new OS in terms of shared library offsets.