diff options
| author | Leon Hwang <leon.hwang@linux.dev> | 2026-08-15 01:32:06 +0800 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2026-08-14 13:33:37 -0700 |
| commit | 90bd0329abd4a1f9fbf6c46c3aa64f638443c368 (patch) | |
| tree | 97a20a998cc11ff653b09994285331c93ec38e5e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 3808171428f563633d532a801197ed9b410735bf (diff) | |
selftests/bpf: Improve readability in iter test for percpu data
The original 'offsetof()' + offset is equal to the new 'offsetof()'. Use
the new 'offsetof()' instead.
Rename two variables btw:
* offsetof_num -> num_off
* percpu_data_sum -> sum
Signed-off-by: Leon Hwang <leon.hwang@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260814173206.93082-6-leon.hwang@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
