diff options
author | 2021-10-13 18:09:01 +0200 | |
---|---|---|
committer | 2021-10-20 11:40:45 -0700 | |
commit | 961632d5416389a6f2e7478b674ac645c7e3ff01 (patch) | |
tree | 85e4b85c09f0a2074a8cbcec4925bc80aecef238 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | libbpf: Fix dumping big-endian bitfields (diff) | |
download | linux-dev-961632d5416389a6f2e7478b674ac645c7e3ff01.tar.xz linux-dev-961632d5416389a6f2e7478b674ac645c7e3ff01.zip |
libbpf: Fix dumping non-aligned __int128
Non-aligned integers are dumped as bitfields, which is supported for at
most 64-bit integers. Fix by using the same trick as
btf_dump_float_data(): copy non-aligned values to the local buffer.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211013160902.428340-4-iii@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions