title: Adding dynamic tracepoint through perf in Linux for function that is not listed
body: <p>I am trying to trace function <code>zap_pte_range</code> from mm/memory.c using <em><code>perf</code></em>. But function is not listed in the <code>perf probe -F</code>. So is there a way to dynamically trace this function? I.e. with explicitly adding the tracepoint and recompiling the kernel?</p>
  <pre><code>perf probe -a zap_pte_range
  </code></pre>
  <p>gives:</p>
  <blockquote>
  <p>[kernel.kallsyms] with build id 33b15ec444475ee7806331034772f61666fa6719 not found, continuing without symbols</p>
  <p>Failed to find symbol zap_pte_range in kernel</p>
  <p>Error: Failed to add events.</p>
  </blockquote>