diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-12 04:19:53 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-12 06:04:39 -0400 |
commit | 1fe2c1066ce6a30bda7b27785ee3d9b8e62ffbbd (patch) | |
tree | b19630a1a6a2d44a61da0443b0f9de52e42738a6 /tools/perf/builtin-record.c | |
parent | cd84c2ac6d6425dd4d1b80a2231e534b9b03df18 (diff) |
perf tools: Factorize the event structure definitions in a single file
Factorize the multiple definition of the events structures into a
single util/event.h file.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Brice Goglin <Brice.Goglin@inria.fr>
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index afae3873b47c..718b8f7b6aac 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -59,24 +59,6 @@ static int file_new = 1; | |||
59 | 59 | ||
60 | struct perf_header *header; | 60 | struct perf_header *header; |
61 | 61 | ||
62 | struct mmap_event { | ||
63 | struct perf_event_header header; | ||
64 | u32 pid; | ||
65 | u32 tid; | ||
66 | u64 start; | ||
67 | u64 len; | ||
68 | u64 pgoff; | ||
69 | char filename[PATH_MAX]; | ||
70 | }; | ||
71 | |||
72 | struct comm_event { | ||
73 | struct perf_event_header header; | ||
74 | u32 pid; | ||
75 | u32 tid; | ||
76 | char comm[16]; | ||
77 | }; | ||
78 | |||
79 | |||
80 | struct mmap_data { | 62 | struct mmap_data { |
81 | int counter; | 63 | int counter; |
82 | void *base; | 64 | void *base; |