diff options
| author | Haiyue Wang <[email protected]> | 2024-03-27 14:53:29 +0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-03-28 18:31:36 -0700 |
| commit | 55fc888ded83ed542f3de3e51bae03936a998349 (patch) | |
| tree | bb602f9e29f284dcfb6a789e1d99624cb3810fc9 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 786bf0e7e2ec90b349a7bab6e97947982ab31f2c (diff) | |
bpf,arena: Use helper sizeof_field in struct accessors
Use the well defined helper sizeof_field() to calculate the size of a
struct member, instead of doing custom calculations.
Signed-off-by: Haiyue Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions