[PATCH v2] tracing/boottime: Fix kprobe multiple events

2020-06-18 Thread Sascha Ortmann
and aborting after failures is not consistent. The function trace_boot_add_kprobe_event now reports each failure and stops adding probes immediately. Cc: linux-ker...@i4.cs.fau.de Co-developed-by: Maximilian Werner Signed-off-by: Maximilian Werner Signed-off-by: Sascha Ortmann --- kernel/trac

[PATCH] tracing/boottime: Fix kprobe multiple events

2020-06-17 Thread Sascha Ortmann
e the function can only return one result to the caller, the function returns now the last failure (or none, if nothing fails). Cc: linux-ker...@i4.cs.fau.de Signed-off-by: Maximilian Werner Signed-off-by: Sascha Ortmann --- kernel/trace/trace_boot.c | 16 +++- 1 file changed, 11 inser