Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
types.h
Go to the documentation of this file.
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 union u64_swap {
21  u32 val32[2];
22 };
23 
24 #endif /* __PERF_TYPES_H */