projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tracepoint API namespacing ust-endian
[lttng-ust.git]
/
src
/
common
/
elf.h
diff --git
a/src/common/elf.h
b/src/common/elf.h
index 17f946768c376143b8b87be53cce8596c1bc5b2e..9a6b298482528340bee691654e5a61cb5ca79b3e 100644
(file)
--- a/
src/common/elf.h
+++ b/
src/common/elf.h
@@
-74,7
+74,7
@@
struct lttng_ust_elf {
* Determine native endianness in order to convert when reading an ELF
* file if there is a mismatch.
*/
* Determine native endianness in order to convert when reading an ELF
* file if there is a mismatch.
*/
-#if
BYTE_ORDER ==
LITTLE_ENDIAN
+#if
LTTNG_UST_BYTE_ORDER == LTTNG_UST_
LITTLE_ENDIAN
#define NATIVE_ELF_ENDIANNESS ELFDATA2LSB
#else
#define NATIVE_ELF_ENDIANNESS ELFDATA2MSB
#define NATIVE_ELF_ENDIANNESS ELFDATA2LSB
#else
#define NATIVE_ELF_ENDIANNESS ELFDATA2MSB
@@
-100,13
+100,13
@@
struct lttng_ust_elf {
do { \
switch (sizeof(x)) { \
case 8: \
do { \
switch (sizeof(x)) { \
case 8: \
- x =
bswap_64(x);
\
+ x =
lttng_ust_bswap_64(x);
\
break; \
case 4: \
break; \
case 4: \
- x =
bswap_32(x);
\
+ x =
lttng_ust_bswap_32(x);
\
break; \
case 2: \
break; \
case 2: \
- x =
bswap_16(x);
\
+ x =
lttng_ust_bswap_16(x);
\
break; \
case 1: \
break; \
break; \
case 1: \
break; \
This page took
0.023572 seconds
and
4
git commands to generate.