types.h 440 B

1234567891011121314151617
  1. #ifndef _PERF_TYPES_H
  2. #define _PERF_TYPES_H
  3. /*
  4. * We define u64 as unsigned long long for every architecture
  5. * so that we can print it with %Lx without getting warnings.
  6. */
  7. typedef unsigned long long u64;
  8. typedef signed long long s64;
  9. typedef unsigned int u32;
  10. typedef signed int s32;
  11. typedef unsigned short u16;
  12. typedef signed short s16;
  13. typedef unsigned char u8;
  14. typedef signed char s8;
  15. #endif /* _PERF_TYPES_H */