diff options
author | Ian Rogers <[email protected]> | 2023-10-06 21:44:39 -0700 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2023-10-09 09:36:51 -0700 |
commit | 1be84ca53ca0421c781f9ec007cd8bccbb58f763 (patch) | |
tree | d0d080976441f94c1d82d6e376e46a53653ef1db /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 23671f4dfd10b48b4a2fee4768886f0d8ec55b7e (diff) |
bpftool: Align bpf_load_and_run_opts insns and data
A C string lacks alignment so use aligned arrays to avoid potential
alignment problems. Switch to using sizeof (less 1 for the \0
terminator) rather than a hardcode size constant.
Signed-off-by: Ian Rogers <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions