linux/arch/riscv/kernel/probes
Masami Hiramatsu 9c89bb8e32 kprobes: treewide: Cleanup the error messages for kprobes
This clean up the error/notification messages in kprobes related code.
Basically this defines 'pr_fmt()' macros for each files and update
the messages which describes

 - what happened,
 - what is the kernel going to do or not do,
 - is the kernel fine,
 - what can the user do about it.

Also, if the message is not needed (e.g. the function returns unique
error code, or other error message is already shown.) remove it,
and replace the message with WARN_*() macros if suitable.

Link: https://lkml.kernel.org/r/163163036568.489837.14085396178727185469.stgit@devnote2

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2021-09-30 21:24:05 -04:00
..
decode-insn.c riscv: kprobes: implement the branch instructions 2021-07-21 23:22:34 -07:00
decode-insn.h riscv: Add kprobes supported 2021-01-14 15:09:06 -08:00
ftrace.c riscv: kprobes/ftrace: Add recursion protection to the ftrace callback 2021-04-15 21:32:34 -07:00
kprobes_trampoline.S riscv: Add kprobes supported 2021-01-14 15:09:06 -08:00
kprobes.c kprobes: treewide: Cleanup the error messages for kprobes 2021-09-30 21:24:05 -04:00
Makefile riscv: Add uprobes supported 2021-01-14 15:09:08 -08:00
simulate-insn.c riscv: kprobes: implement the branch instructions 2021-07-21 23:22:34 -07:00
simulate-insn.h riscv: Add kprobes supported 2021-01-14 15:09:06 -08:00
uprobes.c riscv: Add uprobes supported 2021-01-14 15:09:08 -08:00