diff options
| author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-07-20 19:44:43 +0900 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-07-21 18:00:05 +0900 |
| commit | 3d785646cc488d3f743e0cb67491e80b69200cfb (patch) | |
| tree | d7e2b9da06806df857ab5be1c23030628bb28627 /scripts/stackusage | |
| parent | 36db65d0e5de923909e4d2b13524375b139568ac (diff) | |
| download | linux-3d785646cc488d3f743e0cb67491e80b69200cfb.tar.gz linux-3d785646cc488d3f743e0cb67491e80b69200cfb.zip | |
tracing/fprobe: Remove redundant memset in fentry_perf_func()
fentry_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.
Furthermore, passing dsize (the dynamic data byte length) to memset at
&entry[1] (the start of fixed trace arguments) is inaccurate as it zeroes
from the fixed args area rather than the dynamic data region.
Remove this redundant memset call to align with fexit_perf_func() and other
probe perf functions.
Link: https://lore.kernel.org/all/178454428366.296567.16465331441301815980.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
