Adding dynamic tracepoint through perf in Linux for function that is not listed
问题 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. 回答1: There is no such trace