aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-06-25 11:05:54 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-25 15:39:04 -0400
commit7c6a1c65bbd3be688e581511f45818663efc1877 (patch)
tree28bfa19c484b266d5ef3daa04aba8a6831277bc2 /tools/perf/perf.h
parente5c59547791f171b280bc4c4b2c3ff171824c1a3 (diff)
perf_counter tools: Rework the file format
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>
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r--tools/perf/perf.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index bccb529dac08..16c84fd73c86 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -19,7 +19,7 @@
19#include <sys/syscall.h> 19#include <sys/syscall.h>
20 20
21#include "../../include/linux/perf_counter.h" 21#include "../../include/linux/perf_counter.h"
22#include "types.h" 22#include "util/types.h"
23 23
24/* 24/*
25 * prctl(PR_TASK_PERF_COUNTERS_DISABLE) will (cheaply) disable all 25 * prctl(PR_TASK_PERF_COUNTERS_DISABLE) will (cheaply) disable all
@@ -66,10 +66,4 @@ sys_perf_counter_open(struct perf_counter_attr *attr,
66#define MAX_COUNTERS 256 66#define MAX_COUNTERS 256
67#define MAX_NR_CPUS 256 67#define MAX_NR_CPUS 256
68 68
69struct perf_file_header {
70 u64 version;
71 u64 sample_type;
72 u64 data_size;
73};
74
75#endif 69#endif