Some kernels (old rhel4 x86-64 xen) don't have and/or export cpu_khz. These would need to go back to the heuristic estimation code in runtime/time.c:__stp_get_freq().
Created attachment 4120 [details] patch to detect cpu_khz
Looks good, if cpu_khz is actually absent in these kernels, as opposed to merely not EXPORT_SYMBOL'd.
Created attachment 4507 [details] Updated patch Reading symbol from Module.symvers
commit e25ab03ca60a5c6ca687b698502730ba2ad244dc Author: Wenji Huang <wenji.huang@oracle.com> Date: Wed Jan 13 11:27:48 2010 +0800 PR10493: autoconf for cpu_khz * buildrun.cxx (output_cpu_khz): New function to check cpu_khz. (compile_pass): Invoke function output_cpu_khz. * runtime/time.c : Use STAPCONF_CPU_KHZ.
committed