diff options
| author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-07-20 19:44:53 +0900 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-07-21 18:00:09 +0900 |
| commit | 5b385fd434c75b6288a36722d606f04444db34eb (patch) | |
| tree | fa6c236bba848f0818822c2b0f11c1fa5bdc97af /scripts/stackusage | |
| parent | 3d785646cc488d3f743e0cb67491e80b69200cfb (diff) | |
| download | linux-5b385fd434c75b6288a36722d606f04444db34eb.tar.gz linux-5b385fd434c75b6288a36722d606f04444db34eb.zip | |
tracing/kprobe: Remove redundant memset in kprobe_perf_func()
kprobe_perf_func() calls memset(&entry[1], 0, dsize) prior to calling
store_trace_args(). store_trace_args() populates the entry buffer and
handles dynamic data fields.
Remove this redundant memset call to align with kretprobe_perf_func() and
other probe perf functions.
Link: https://lore.kernel.org/all/178454429309.296567.17379087988750549247.stgit@devnote2/
Assisted-by: Antigravity:gemini-3.5-flash
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
