1 #ifndef __PERF_TYPES_H 2 #define __PERF_TYPES_H 3 4 #include <stdint.h> 5 6 /* 7 * We define u64 as uint64_t for every architecture 8 * so that we can print it with "%"PRIx64 without getting warnings. 9 */ 10 typedef uint64_t u64; 11 typedef int64_t s64; 12 typedef unsigned int u32; 13 typedef signed int s32; 14 typedef unsigned short u16; 15 typedef signed short s16; 16 typedef unsigned char u8; 17 typedef signed char s8; 18 19 #endif /* __PERF_TYPES_H */ 20