aboutsummaryrefslogtreecommitdiffstats
path: root/parse-events.h
diff options
context:
space:
mode:
Diffstat (limited to 'parse-events.h')
-rw-r--r--parse-events.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/parse-events.h b/parse-events.h
index bb2fe83..32a8ff0 100644
--- a/parse-events.h
+++ b/parse-events.h
@@ -347,11 +347,21 @@ struct pevent {
347 struct event_format *last_event; 347 struct event_format *last_event;
348}; 348};
349 349
350/* Can be overridden */
350void die(char *fmt, ...); 351void die(char *fmt, ...);
351void *malloc_or_die(unsigned int size); 352void *malloc_or_die(unsigned int size);
352void warning(char *fmt, ...); 353void warning(char *fmt, ...);
353void pr_stat(char *fmt, ...); 354void pr_stat(char *fmt, ...);
354 355
356/* Always available */
357void __die(char *fmt, ...);
358void __warning(char *fmt, ...);
359void __pr_stat(char *fmt, ...);
360
361void __vdie(char *fmt, ...);
362void __vwarning(char *fmt, ...);
363void __vpr_stat(char *fmt, ...);
364
355static inline unsigned short 365static inline unsigned short
356__data2host2(struct pevent *pevent, unsigned short data) 366__data2host2(struct pevent *pevent, unsigned short data)
357{ 367{
@@ -702,4 +712,6 @@ int pevent_filter_copy(struct event_filter *dest, struct event_filter *source);
702int pevent_update_trivial(struct event_filter *dest, struct event_filter *source, 712int pevent_update_trivial(struct event_filter *dest, struct event_filter *source,
703 enum filter_trivial_type type); 713 enum filter_trivial_type type);
704 714
715int pevent_filter_compare(struct event_filter *filter1, struct event_filter *filter2);
716
705#endif /* _PARSE_EVENTS_H */ 717#endif /* _PARSE_EVENTS_H */