aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2021-11-04 14:23:11 +0100
committerArnaldo Carvalho de Melo <[email protected]>2021-11-07 12:27:38 -0300
commit4e88118c20fc5fa7890230da2d26f0235dd904f5 (patch)
treed29e1acd0c8976a23575cd859f842510d1261a12 /scripts/gdb/linux/utils.py
parentb3a018fc31fea05ffd034952b4b6e9e1eb0812bc (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