]> git.baikalelectronics.ru Git - kernel.git/commit
trace_kprobe: Remove warning message "Could not insert probe at..."
authorSong Liu <songliubraving@fb.com>
Fri, 13 Apr 2018 18:55:13 +0000 (11:55 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Apr 2018 05:54:57 +0000 (07:54 +0200)
commitc529eb1febbd3e5456c64a02924ca414354bf4e4
tree6fa600c710b0c20accfbc042be9a116e5b1e72eb
parentd83fabaad9d43f233a1b42796d2537c167c4fe2e
trace_kprobe: Remove warning message "Could not insert probe at..."

This warning message is not very helpful, as the return value should
already show information about the error. Also, this message will
spam dmesg if the user space does testing in a loop, like:

    for x in {0..5}
    do
        echo p:xx xx+$x >> /sys/kernel/debug/tracing/kprobe_events
    done

Reported-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Song Liu <songliubraving@fb.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: kernel-team@fb.com
Link: http://lkml.kernel.org/r/20180413185513.3626052-1-songliubraving@fb.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/trace/trace_kprobe.c