aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/event-parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/traceevent/event-parse.h')
-rw-r--r--tools/lib/traceevent/event-parse.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/lib/traceevent/event-parse.h b/tools/lib/traceevent/event-parse.h
index 950ad185a5c4..35d37087d3c5 100644
--- a/tools/lib/traceevent/event-parse.h
+++ b/tools/lib/traceevent/event-parse.h
@@ -409,20 +409,6 @@ void tep_print_plugins(struct trace_seq *s,
409typedef char *(tep_func_resolver_t)(void *priv, 409typedef char *(tep_func_resolver_t)(void *priv,
410 unsigned long long *addrp, char **modp); 410 unsigned long long *addrp, char **modp);
411void tep_set_flag(struct tep_handle *tep, int flag); 411void tep_set_flag(struct tep_handle *tep, int flag);
412unsigned short __tep_data2host2(struct tep_handle *pevent, unsigned short data);
413unsigned int __tep_data2host4(struct tep_handle *pevent, unsigned int data);
414unsigned long long
415__tep_data2host8(struct tep_handle *pevent, unsigned long long data);
416
417#define tep_data2host2(pevent, ptr) __tep_data2host2(pevent, *(unsigned short *)(ptr))
418#define tep_data2host4(pevent, ptr) __tep_data2host4(pevent, *(unsigned int *)(ptr))
419#define tep_data2host8(pevent, ptr) \
420({ \
421 unsigned long long __val; \
422 \
423 memcpy(&__val, (ptr), sizeof(unsigned long long)); \
424 __tep_data2host8(pevent, __val); \
425})
426 412
427static inline int tep_host_bigendian(void) 413static inline int tep_host_bigendian(void)
428{ 414{
@@ -475,8 +461,6 @@ enum tep_errno tep_parse_format(struct tep_handle *pevent,
475 struct tep_event **eventp, 461 struct tep_event **eventp,
476 const char *buf, 462 const char *buf,
477 unsigned long size, const char *sys); 463 unsigned long size, const char *sys);
478void tep_free_event(struct tep_event *event);
479void tep_free_format_field(struct tep_format_field *field);
480 464
481void *tep_get_field_raw(struct trace_seq *s, struct tep_event *event, 465void *tep_get_field_raw(struct trace_seq *s, struct tep_event *event,
482 const char *name, struct tep_record *record, 466 const char *name, struct tep_record *record,