perf_counter tools: Add a data file header
Add a data file header so we can transfer data between record and report. LKML-Reference: <new-submission> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
2a0a50fe9d
commit
f5970550d5
@ -65,4 +65,10 @@ sys_perf_counter_open(struct perf_counter_attr *attr,
|
||||
#define MAX_COUNTERS 256
|
||||
#define MAX_NR_CPUS 256
|
||||
|
||||
struct perf_file_header {
|
||||
__u64 version;
|
||||
__u64 sample_type;
|
||||
__u64 data_size;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user