trying to use stap in rawhide today, I get: stap sources.stap In file included from /tmp/stap4uwu0m/stap_6e4652511e4bf5b8d6b1e86ca80ab452_6721_src.c:402:0: /usr/share/systemtap/runtime/time.c: In function ‘__stp_time_cpufreq_callback’: /usr/share/systemtap/runtime/time.c:224:14: error: ‘CPUFREQ_RESUMECHANGE’ undeclared (first use in this function) case CPUFREQ_RESUMECHANGE: ^ /usr/share/systemtap/runtime/time.c:224:14: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [/tmp/stap4uwu0m/stap_6e4652511e4bf5b8d6b1e86ca80ab452_6721_src.o] Error 1 make: *** [_module_/tmp/stap4uwu0m] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. [man error::pass4] A quick search seems to show that this define was removed in the kernel: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/diff/include/linux/cpufreq.h?id=4dedde7c7a18f55180574f934dbc1be84ca0400b
Seems to have been resolved already upstream: commit a404e997732d88a148d822bab9ea413b01e5da41 Author: Frank Ch. Eigler <fche> Date: Sat Apr 5 12:19:19 2014 -0400 BZ1084692: adapt to kernel droppage of CPUFREQ_RESUMECHANGE Just #ifdef the bad boy.
Considering last week's systemtap rawhide spin failed to build due to a dependency issue, I re-spun systemtap a couple days early to include the fix. http://koji.fedoraproject.org/koji/taskinfo?taskID=6710920 It should be available in the rawhide repo once the nightly update occurs.
thanks !