mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
tools lib traceevent, perf tools: Rename pevent_read_number_* APIs
In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. That prefix will be "tep_" and not "pevent_". This changes APIs: pevent_read_number, pevent_read_number_field Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Yordan Karadzhov (VMware) <y.karadz@gmail.com> Cc: linux-trace-devel@vger.kernel.org Link: http://lkml.kernel.org/r/20180808180700.804271434@goodmis.org Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
6a48dc298e
commit
59c1baee25
10 changed files with 52 additions and 52 deletions
|
@ -693,9 +693,9 @@ struct format_field *tep_find_any_field(struct event_format *event, const char *
|
|||
const char *pevent_find_function(struct tep_handle *pevent, unsigned long long addr);
|
||||
unsigned long long
|
||||
pevent_find_function_address(struct tep_handle *pevent, unsigned long long addr);
|
||||
unsigned long long pevent_read_number(struct tep_handle *pevent, const void *ptr, int size);
|
||||
int pevent_read_number_field(struct format_field *field, const void *data,
|
||||
unsigned long long *value);
|
||||
unsigned long long tep_read_number(struct tep_handle *pevent, const void *ptr, int size);
|
||||
int tep_read_number_field(struct format_field *field, const void *data,
|
||||
unsigned long long *value);
|
||||
|
||||
struct event_format *tep_find_event(struct tep_handle *pevent, int id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue