diff options
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r-- | tools/perf/util/event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index a95ab18575ce..4716a8f6d3eb 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h | |||
@@ -171,6 +171,6 @@ int event__preprocess_sample(const event_t *self, struct perf_session *session, | |||
171 | int event__parse_sample(const event_t *event, struct perf_session *session, | 171 | int event__parse_sample(const event_t *event, struct perf_session *session, |
172 | struct sample_data *sample); | 172 | struct sample_data *sample); |
173 | 173 | ||
174 | extern const char *event__name[]; | 174 | const char *event__get_event_name(unsigned int id); |
175 | 175 | ||
176 | #endif /* __PERF_RECORD_H */ | 176 | #endif /* __PERF_RECORD_H */ |