diff options
Diffstat (limited to 'tools/lib/traceevent/event-parse.h')
| -rw-r--r-- | tools/lib/traceevent/event-parse.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/lib/traceevent/event-parse.h b/tools/lib/traceevent/event-parse.h index 63ec6d419219..7f8921431cf1 100644 --- a/tools/lib/traceevent/event-parse.h +++ b/tools/lib/traceevent/event-parse.h | |||
| @@ -624,7 +624,7 @@ int tep_register_function(struct tep_handle *pevent, char *name, | |||
| 624 | unsigned long long addr, char *mod); | 624 | unsigned long long addr, char *mod); |
| 625 | int tep_register_print_string(struct tep_handle *pevent, const char *fmt, | 625 | int tep_register_print_string(struct tep_handle *pevent, const char *fmt, |
| 626 | unsigned long long addr); | 626 | unsigned long long addr); |
| 627 | int pevent_pid_is_registered(struct tep_handle *pevent, int pid); | 627 | int tep_pid_is_registered(struct tep_handle *pevent, int pid); |
| 628 | 628 | ||
| 629 | void tep_print_event_task(struct tep_handle *pevent, struct trace_seq *s, | 629 | void tep_print_event_task(struct tep_handle *pevent, struct trace_seq *s, |
| 630 | struct event_format *event, | 630 | struct event_format *event, |
| @@ -731,12 +731,12 @@ struct event_format **pevent_list_events(struct tep_handle *pevent, enum event_s | |||
| 731 | struct format_field **pevent_event_common_fields(struct event_format *event); | 731 | struct format_field **pevent_event_common_fields(struct event_format *event); |
| 732 | struct format_field **pevent_event_fields(struct event_format *event); | 732 | struct format_field **pevent_event_fields(struct event_format *event); |
| 733 | 733 | ||
| 734 | static inline int pevent_get_cpus(struct tep_handle *pevent) | 734 | static inline int tep_get_cpus(struct tep_handle *pevent) |
| 735 | { | 735 | { |
| 736 | return pevent->cpus; | 736 | return pevent->cpus; |
| 737 | } | 737 | } |
| 738 | 738 | ||
| 739 | static inline void pevent_set_cpus(struct tep_handle *pevent, int cpus) | 739 | static inline void tep_set_cpus(struct tep_handle *pevent, int cpus) |
| 740 | { | 740 | { |
| 741 | pevent->cpus = cpus; | 741 | pevent->cpus = cpus; |
| 742 | } | 742 | } |
| @@ -761,7 +761,7 @@ static inline void tep_set_page_size(struct tep_handle *pevent, int _page_size) | |||
| 761 | pevent->page_size = _page_size; | 761 | pevent->page_size = _page_size; |
| 762 | } | 762 | } |
| 763 | 763 | ||
| 764 | static inline int pevent_is_file_bigendian(struct tep_handle *pevent) | 764 | static inline int tep_is_file_bigendian(struct tep_handle *pevent) |
| 765 | { | 765 | { |
| 766 | return pevent->file_bigendian; | 766 | return pevent->file_bigendian; |
| 767 | } | 767 | } |
| @@ -771,7 +771,7 @@ static inline void tep_set_file_bigendian(struct tep_handle *pevent, int endian) | |||
| 771 | pevent->file_bigendian = endian; | 771 | pevent->file_bigendian = endian; |
| 772 | } | 772 | } |
| 773 | 773 | ||
| 774 | static inline int pevent_is_host_bigendian(struct tep_handle *pevent) | 774 | static inline int tep_is_host_bigendian(struct tep_handle *pevent) |
| 775 | { | 775 | { |
| 776 | return pevent->host_bigendian; | 776 | return pevent->host_bigendian; |
| 777 | } | 777 | } |
| @@ -781,12 +781,12 @@ static inline void tep_set_host_bigendian(struct tep_handle *pevent, int endian) | |||
| 781 | pevent->host_bigendian = endian; | 781 | pevent->host_bigendian = endian; |
| 782 | } | 782 | } |
| 783 | 783 | ||
| 784 | static inline int pevent_is_latency_format(struct tep_handle *pevent) | 784 | static inline int tep_is_latency_format(struct tep_handle *pevent) |
| 785 | { | 785 | { |
| 786 | return pevent->latency_format; | 786 | return pevent->latency_format; |
| 787 | } | 787 | } |
| 788 | 788 | ||
| 789 | static inline void pevent_set_latency_format(struct tep_handle *pevent, int lat) | 789 | static inline void tep_set_latency_format(struct tep_handle *pevent, int lat) |
| 790 | { | 790 | { |
| 791 | pevent->latency_format = lat; | 791 | pevent->latency_format = lat; |
| 792 | } | 792 | } |
