diff options
author | Kui-Feng Lee <thinker.li@gmail.com> | 2024-05-23 10:41:55 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-06-03 20:52:42 -0700 |
commit | 482f7133791e894b94a57ab3251e03d4c98ea42b (patch) | |
tree | dd090e2e84e49f85eeca59f47fb231427a559e8c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c95a3be45ad22ee8925d6d1ab531d5ba98216311 (diff) |
bpf: Remove unnecessary call to btf_field_type_size().
field->size has been initialized by bpf_parse_fields() with the value
returned by btf_field_type_size(). Use it instead of calling
btf_field_type_size() again.
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Link: https://lore.kernel.org/r/20240523174202.461236-3-thinker.li@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions