diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-06-25 17:05:54 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-25 21:39:04 +0200 |
commit | 7c6a1c65bbd3be688e581511f45818663efc1877 (patch) | |
tree | 28bfa19c484b266d5ef3daa04aba8a6831277bc2 /tools/perf/perf.h | |
parent | perf_counter tools: Shorten names for events (diff) | |
download | linux-7c6a1c65bbd3be688e581511f45818663efc1877.tar.xz linux-7c6a1c65bbd3be688e581511f45818663efc1877.zip |
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.h | 8 |
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 @@ #include <sys/syscall.h> #include "../../include/linux/perf_counter.h" -#include "types.h" +#include "util/types.h" /* * prctl(PR_TASK_PERF_COUNTERS_DISABLE) will (cheaply) disable all @@ -66,10 +66,4 @@ 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 |