Commit fff1787
trace/kprobe: remove duplicated calls of ring_buffer_event_data
Function __kprobe_trace_func calls ring_buffer_event_data to
get a ring buffer, however, it has been done in above call
trace_event_buffer_reserve. So does __kretprobe_trace_func.
This patch removes those duplicated calls.
Link: https://lore.kernel.org/all/[email protected]/
Reviewed-by: Steven Rostedt (Google) <[email protected]>
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Song Chen <[email protected]>
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>1 parent 8c2b997 commit fff1787
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1344 | 1344 | | |
1345 | 1345 | | |
1346 | 1346 | | |
1347 | | - | |
1348 | 1347 | | |
1349 | 1348 | | |
1350 | 1349 | | |
| |||
1385 | 1384 | | |
1386 | 1385 | | |
1387 | 1386 | | |
1388 | | - | |
1389 | 1387 | | |
1390 | 1388 | | |
1391 | 1389 | | |
| |||
0 commit comments