types.h 446 B

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