perf: Always build the stub perf_arch_fetch_caller_regs version
[linux-2.6.git] / kernel / perf_event.c
index 96aae13c7960b7034f5185378c136f3308bf1df3..681af806d76b41b38c3f7de775610327ff288ac5 100644 (file)
@@ -2784,12 +2784,11 @@ __weak struct perf_callchain_entry *perf_callchain(struct pt_regs *regs)
        return NULL;
 }
 
-#ifdef CONFIG_EVENT_TRACING
 __weak
 void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip, int skip)
 {
 }
-#endif
+
 
 /*
  * Output