diff options
| author | Alan Maguire <[email protected]> | 2021-07-20 09:49:51 +0100 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-07-20 13:49:25 -0700 |
| commit | a1d3cc3c5eca598cfabee3a35f30f34fbe2f709b (patch) | |
| tree | b5120416c8e843e2c0c120a5d60d7de71d5036b1 /tools/perf/scripts/python | |
| parent | 875fc315dbc3cdd3a5cab57b2bb7c1976ec8df44 (diff) | |
libbpf: Avoid use of __int128 in typed dump display
__int128 is not supported for some 32-bit platforms (arm and i386).
__int128 was used in carrying out computations on bitfields which
aid display, but the same calculations could be done with __u64
with the small effect of not supporting 128-bit bitfields.
With these changes, a big-endian issue with casting 128-bit integers
to 64-bit for enum bitfields is solved also, as we now use 64-bit
integers for bitfield calculations.
Reported-by: Naresh Kamboju <[email protected]>
Reported-by: Linux Kernel Functional Testing <[email protected]>
Signed-off-by: Alan Maguire <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions