diff options
Diffstat (limited to 'tools/perf/util/session.h')
-rw-r--r-- | tools/perf/util/session.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h index 4d549e28248f..c45ce4348b83 100644 --- a/tools/perf/util/session.h +++ b/tools/perf/util/session.h | |||
@@ -41,7 +41,6 @@ struct perf_session { | |||
41 | * perf.data file. | 41 | * perf.data file. |
42 | */ | 42 | */ |
43 | struct hists hists; | 43 | struct hists hists; |
44 | u64 sample_type; | ||
45 | int fd; | 44 | int fd; |
46 | bool fd_pipe; | 45 | bool fd_pipe; |
47 | bool repipe; | 46 | bool repipe; |
@@ -133,13 +132,9 @@ int perf_session__parse_sample(struct perf_session *session, | |||
133 | const union perf_event *event, | 132 | const union perf_event *event, |
134 | struct perf_sample *sample); | 133 | struct perf_sample *sample); |
135 | 134 | ||
136 | static inline int perf_session__synthesize_sample(struct perf_session *session, | 135 | int perf_session__synthesize_sample(struct perf_session *session, |
137 | union perf_event *event, | 136 | union perf_event *event, |
138 | const struct perf_sample *sample) | 137 | const struct perf_sample *sample); |
139 | { | ||
140 | return perf_event__synthesize_sample(event, session->sample_type, | ||
141 | sample, session->header.needs_swap); | ||
142 | } | ||
143 | 138 | ||
144 | struct perf_evsel *perf_session__find_first_evtype(struct perf_session *session, | 139 | struct perf_evsel *perf_session__find_first_evtype(struct perf_session *session, |
145 | unsigned int type); | 140 | unsigned int type); |