perf lock: Allow to use different kernel symbols