diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-10-08 11:43:00 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-10-08 11:43:00 -0400 |
commit | e3c55d406bd8df1a878546002c93db90c42be10c (patch) | |
tree | efb0ba2707c95fd7166cf1b76887c43c977e37dd /tools/perf/util/trace-event.h | |
parent | 4d6e482675f13e33599fc3d18fc723959be0a9b6 (diff) | |
parent | d0e639c9e06d44e713170031fe05fb60ebe680af (diff) |
Merge tag 'v3.12-rc4' into next
Merge with mainline to bring in changes to input subsystem that were
committed through other trees.
Diffstat (limited to 'tools/perf/util/trace-event.h')
-rw-r--r-- | tools/perf/util/trace-event.h | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/tools/perf/util/trace-event.h b/tools/perf/util/trace-event.h index 1978c398ad87..fafe1a40444a 100644 --- a/tools/perf/util/trace-event.h +++ b/tools/perf/util/trace-event.h | |||
@@ -1,32 +1,18 @@ | |||
1 | #ifndef _PERF_UTIL_TRACE_EVENT_H | 1 | #ifndef _PERF_UTIL_TRACE_EVENT_H |
2 | #define _PERF_UTIL_TRACE_EVENT_H | 2 | #define _PERF_UTIL_TRACE_EVENT_H |
3 | 3 | ||
4 | #include <traceevent/event-parse.h> | ||
4 | #include "parse-events.h" | 5 | #include "parse-events.h" |
5 | #include "event-parse.h" | ||
6 | #include "session.h" | 6 | #include "session.h" |
7 | 7 | ||
8 | struct machine; | 8 | struct machine; |
9 | struct perf_sample; | 9 | struct perf_sample; |
10 | union perf_event; | 10 | union perf_event; |
11 | struct perf_tool; | 11 | struct perf_tool; |
12 | struct thread; | ||
12 | 13 | ||
13 | extern int header_page_size_size; | ||
14 | extern int header_page_ts_size; | ||
15 | extern int header_page_data_offset; | ||
16 | |||
17 | extern bool latency_format; | ||
18 | extern struct pevent *perf_pevent; | 14 | extern struct pevent *perf_pevent; |
19 | 15 | ||
20 | enum { | ||
21 | RINGBUF_TYPE_PADDING = 29, | ||
22 | RINGBUF_TYPE_TIME_EXTEND = 30, | ||
23 | RINGBUF_TYPE_TIME_STAMP = 31, | ||
24 | }; | ||
25 | |||
26 | #ifndef TS_SHIFT | ||
27 | #define TS_SHIFT 27 | ||
28 | #endif | ||
29 | |||
30 | int bigendian(void); | 16 | int bigendian(void); |
31 | 17 | ||
32 | struct pevent *read_trace_init(int file_bigendian, int host_bigendian); | 18 | struct pevent *read_trace_init(int file_bigendian, int host_bigendian); |
@@ -83,7 +69,8 @@ struct scripting_ops { | |||
83 | struct perf_sample *sample, | 69 | struct perf_sample *sample, |
84 | struct perf_evsel *evsel, | 70 | struct perf_evsel *evsel, |
85 | struct machine *machine, | 71 | struct machine *machine, |
86 | struct addr_location *al); | 72 | struct thread *thread, |
73 | struct addr_location *al); | ||
87 | int (*generate_script) (struct pevent *pevent, const char *outfile); | 74 | int (*generate_script) (struct pevent *pevent, const char *outfile); |
88 | }; | 75 | }; |
89 | 76 | ||