summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorHaiyue Wang <haiyue.wang@intel.com>2024-03-27 09:53:29 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-03-29 04:31:36 +0300
commit55fc888ded83ed542f3de3e51bae03936a998349 (patch)
treebb602f9e29f284dcfb6a789e1d99624cb3810fc9 /tools/perf/scripts/python/sched-migration.py
parent786bf0e7e2ec90b349a7bab6e97947982ab31f2c (diff)
downloadlinux-55fc888ded83ed542f3de3e51bae03936a998349.tar.xz
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 <haiyue.wang@intel.com> Link: https://lore.kernel.org/r/20240327065334.8140-1-haiyue.wang@intel.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions