aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-06-18 17:22:55 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-19 07:42:36 -0400
commitf5970550d5ccf90453cbd7d260370ea99d1f6513 (patch)
treef09c265d9c44bf0cb74d5e998626c6dede5e14c9 /tools/perf/perf.h
parent2a0a50fe9def21835d65035cc8109c0b6dd6099d (diff)
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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index 87a1aca4a424..55c62f4b990b 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -65,4 +65,10 @@ sys_perf_counter_open(struct perf_counter_attr *attr,
65#define MAX_COUNTERS 256 65#define MAX_COUNTERS 256
66#define MAX_NR_CPUS 256 66#define MAX_NR_CPUS 256
67 67
68struct perf_file_header {
69 __u64 version;
70 __u64 sample_type;
71 __u64 data_size;
72};
73
68#endif 74#endif