7c6a1c65bb
Create a structured file format that includes the full perf_counter_attr and all its relevant counter IDs so that the reporting program has full information. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 lines
440 B
C
18 lines
440 B
C
#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 */
|