diff options
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r-- | tools/perf/perf.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h index f735b6924a2f..8f729aedc1a3 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <sys/syscall.h> | 35 | #include <sys/syscall.h> |
36 | 36 | ||
37 | #include "../../include/linux/perf_counter.h" | 37 | #include "../../include/linux/perf_counter.h" |
38 | #include "types.h" | 38 | #include "util/types.h" |
39 | 39 | ||
40 | /* | 40 | /* |
41 | * prctl(PR_TASK_PERF_COUNTERS_DISABLE) will (cheaply) disable all | 41 | * prctl(PR_TASK_PERF_COUNTERS_DISABLE) will (cheaply) disable all |
@@ -82,10 +82,9 @@ sys_perf_counter_open(struct perf_counter_attr *attr, | |||
82 | #define MAX_COUNTERS 256 | 82 | #define MAX_COUNTERS 256 |
83 | #define MAX_NR_CPUS 256 | 83 | #define MAX_NR_CPUS 256 |
84 | 84 | ||
85 | struct perf_file_header { | 85 | struct ip_callchain { |
86 | u64 version; | 86 | u64 nr; |
87 | u64 sample_type; | 87 | u64 ips[0]; |
88 | u64 data_size; | ||
89 | }; | 88 | }; |
90 | 89 | ||
91 | #endif | 90 | #endif |