OpenCloudOS-Kernel/tools/perf/util/intel-pt-decoder
Ilya Leoshkevich 4e88118c20 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 <iii@linux.ibm.com>
Suggested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Link: https://lore.kernel.org/r/20211104132311.984703-1-iii@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-11-07 12:27:38 -03:00
..
Build x86/insn: Use get_unaligned() instead of memcpy() 2021-10-06 11:56:37 +02:00
intel-pt-decoder.c perf intel-pt: Support itrace A option to approximate IPC 2021-10-27 16:20:18 -03:00
intel-pt-decoder.h perf intel-pt: Support itrace A option to approximate IPC 2021-10-27 16:20:18 -03:00
intel-pt-insn-decoder.c perf tools: Use __BYTE_ORDER__ 2021-11-07 12:27:38 -03:00
intel-pt-insn-decoder.h perf intel_pt: Add vmlaunch and vmresume as branches 2021-02-18 16:13:30 -03:00
intel-pt-log.c perf intel-pt: Support itrace d+o option to direct debug log to stdout 2021-10-27 16:21:01 -03:00
intel-pt-log.h perf intel-pt: Add VM Time Correlation to decoder 2021-05-12 12:43:11 -03:00
intel-pt-pkt-decoder.c perf tools: Use __BYTE_ORDER__ 2021-11-07 12:27:38 -03:00
intel-pt-pkt-decoder.h perf intel-pt: Retain the last PIP packet payload as is 2021-02-18 16:13:46 -03:00