perf/x86/hw_breakpoints: Disallow kernel breakpoints unless kprobe-safe
[firefly-linux-kernel-4.4.55.git] / kernel / kprobes.c
index c90e417bb9636300e4f4fe87d2c995a6c2cdab12..d10ab6b9b5e082e47570ab76b8e5aefa7e58ec5a 100644 (file)
@@ -1332,7 +1332,7 @@ bool __weak arch_within_kprobe_blacklist(unsigned long addr)
               addr < (unsigned long)__kprobes_text_end;
 }
 
-static bool within_kprobe_blacklist(unsigned long addr)
+bool within_kprobe_blacklist(unsigned long addr)
 {
        struct kprobe_blacklist_entry *ent;