summaryrefslogtreecommitdiff
path: root/tools/perf/util/types.h
blob: 5e75f9005940ac497f32ea1e12b84a9389b77ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _PERF_TYPES_H
#define _PERF_TYPES_H

/*
 * We define u64 as unsigned long long for every architecture
 * so that we can print it with %Lx without getting warnings.
 */
typedef unsigned long long u64;
typedef signed long long   s64;
typedef unsigned int	   u32;
typedef signed int	   s32;
typedef unsigned short	   u16;
typedef signed short	   s16;
typedef unsigned char	   u8;
typedef signed char	   s8;

#endif /* _PERF_TYPES_H */