I am trying to trace function zap_pte_range from mm/memory.c using perf. But function is not listed in the perf probe -F. So is there a way to dynamically trace this function? I.e. with explicitly adding the tracepoint and recompiling the kernel?
perf probe -a zap_pte_range
gives:
[kernel.kallsyms] with build id 33b15ec444475ee7806331034772f61666fa6719 not found, continuing without symbols
Failed to find symbol zap_pte_range in kernel
Error: Failed to add events.