perf/scripts: Move common code out of Perl-specific files
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / tools / perf / util / types.h
blob7d6b8331f8984764e23260eff33d4a13ea09317f
1 #ifndef __PERF_TYPES_H
2 #define __PERF_TYPES_H
4 /*
5 * We define u64 as unsigned long long for every architecture
6 * so that we can print it with %Lx without getting warnings.
7 */
8 typedef unsigned long long u64;
9 typedef signed long long 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;
17 #endif /* __PERF_TYPES_H */