aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/trace-event.h')
-rw-r--r--tools/perf/util/trace-event.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/util/trace-event.h b/tools/perf/util/trace-event.h
index aeb915778ae7..b1e58d3d947d 100644
--- a/tools/perf/util/trace-event.h
+++ b/tools/perf/util/trace-event.h
@@ -245,10 +245,14 @@ extern int latency_format;
245 245
246int parse_header_page(char *buf, unsigned long size); 246int parse_header_page(char *buf, unsigned long size);
247int trace_parse_common_type(void *data); 247int trace_parse_common_type(void *data);
248int trace_parse_common_pid(void *data);
248struct event *trace_find_event(int id); 249struct event *trace_find_event(int id);
250struct event *trace_find_next_event(struct event *event);
251unsigned long long read_size(void *ptr, int size);
249unsigned long long 252unsigned long long
250raw_field_value(struct event *event, const char *name, void *data); 253raw_field_value(struct event *event, const char *name, void *data);
251void *raw_field_ptr(struct event *event, const char *name, void *data); 254void *raw_field_ptr(struct event *event, const char *name, void *data);
255unsigned long long eval_flag(const char *flag);
252 256
253int read_tracing_data(int fd, struct perf_event_attr *pattrs, int nb_events); 257int read_tracing_data(int fd, struct perf_event_attr *pattrs, int nb_events);
254 258
@@ -272,4 +276,7 @@ struct scripting_ops {
272 276
273int script_spec_register(const char *spec, struct scripting_ops *ops); 277int script_spec_register(const char *spec, struct scripting_ops *ops);
274 278
279extern struct scripting_ops perl_scripting_ops;
280void setup_perl_scripting(void);
281
275#endif /* __PERF_TRACE_EVENTS_H */ 282#endif /* __PERF_TRACE_EVENTS_H */