trace/kprobe: Display the actual notrace function when rejecting a probe
[linux-2.6-microblaze.git] / kernel / trace / trace_kprobe.c
index 52f8b53..c4c6e0e 100644 (file)
@@ -487,8 +487,8 @@ static int __register_trace_kprobe(struct trace_kprobe *tk)
                return -EINVAL;
 
        if (within_notrace_func(tk)) {
-               pr_warn("Could not probe notrace function %s\n",
-                       trace_kprobe_symbol(tk));
+               pr_warn("Could not probe notrace function %ps\n",
+                       (void *)trace_kprobe_address(tk));
                return -EINVAL;
        }