perf tools: Fix session init on non-modular kernels