diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-06-18 23:22:55 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-19 13:42:36 +0200 |
commit | f5970550d5ccf90453cbd7d260370ea99d1f6513 (patch) | |
tree | f09c265d9c44bf0cb74d5e998626c6dede5e14c9 /tools/perf/perf.h | |
parent | 2a0a50fe9def21835d65035cc8109c0b6dd6099d (diff) | |
download | kernel_samsung_aries-f5970550d5ccf90453cbd7d260370ea99d1f6513.zip kernel_samsung_aries-f5970550d5ccf90453cbd7d260370ea99d1f6513.tar.gz kernel_samsung_aries-f5970550d5ccf90453cbd7d260370ea99d1f6513.tar.bz2 |
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>
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r-- | tools/perf/perf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h index 87a1aca..55c62f4 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h @@ -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 |