summaryrefslogtreecommitdiff
path: root/tools/perf/util/types.h
blob: 7d6b8331f8984764e23260eff33d4a13ea09317f (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 */