diff options
| author | Eduard Zingerman <eddyz87@gmail.com> | 2026-07-29 15:18:27 +0000 |
|---|---|---|
| committer | Eduard Zingerman <eddyz87@gmail.com> | 2026-07-31 12:44:06 -0700 |
| commit | a15970d916b39acc7c60a0a99c27a6e378690aa9 (patch) | |
| tree | 2c9536f7706a655298412bd2ae9a57b017655229 /tools/perf/scripts/python | |
| parent | 0ce37745d4bfbc493f718169c3974898ffec8ee7 (diff) | |
bpf: Simplify sanitize_err() signature
The sanitize_err() function is called when:
- ptr += scalar
- scalar += ptr
- scalar += scalar
ALU operations are processed.
This commit drops offset and pointer registers parameters from its
signature to simplify the follow-up changes for 'scalar += ptr' case.
regs[src].type is safe to access, as it is not mutated by the callers.
Signed-off-by: Yiyang Chen <chenyy23@mails.tsinghua.edu.cn>
Acked-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
Link: https://patch.msgid.link/20260729-c3-035-public-bpf-v4-v4-1-8ee297e2346b@mails.tsinghua.edu.cn
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
