X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=tools%2Fperf%2Fperf.h;h=ce394192c85a230c58890434b926bc16b802bc62;hb=55bcab46955644d5a8149a9b3cc9752a336e02f8;hp=ceb68aa51f7f5eaeaa109a250ac0ceb9ddc68665;hpb=58580c86450bc09ff101f0d23fd8a162c146bc64;p=mv-sheeva.git diff --git a/tools/perf/perf.h b/tools/perf/perf.h index ceb68aa51f7..ce394192c85 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h @@ -25,7 +25,7 @@ #include #include "../../include/linux/perf_counter.h" -#include "types.h" +#include "util/types.h" /* * prctl(PR_TASK_PERF_COUNTERS_DISABLE) will (cheaply) disable all @@ -72,10 +72,9 @@ 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; +struct ip_callchain { + u64 nr; + u64 ips[0]; }; #endif