diff options
author | Ilya Leoshkevich <[email protected]> | 2021-11-04 14:23:11 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-11-07 12:27:38 -0300 |
commit | 4e88118c20fc5fa7890230da2d26f0235dd904f5 (patch) | |
tree | d29e1acd0c8976a23575cd859f842510d1261a12 /scripts/gdb/linux/utils.py | |
parent | b3a018fc31fea05ffd034952b4b6e9e1eb0812bc (diff) |
perf tools: Use __BYTE_ORDER__
Switch from the libc-defined __BYTE_ORDER to the compiler-defined
__BYTE_ORDER__ in order to make endianness detection more robust, like
it was done for libbpf.
Signed-off-by: Ilya Leoshkevich <[email protected]>
Suggested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions