tools lib traceevent, perf tools: Rename pevent alloc / free 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_alloc, pevent_free, pevent_event_info and pevent_func_resolver_t 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.152609945@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:
committed by
Arnaldo Carvalho de Melo
parent
c32d52b464
commit
4d5c58b15c
@ -125,7 +125,7 @@ void event_format__fprintf(struct event_format *event,
|
||||
record.data = data;
|
||||
|
||||
trace_seq_init(&s);
|
||||
pevent_event_info(&s, event, &record);
|
||||
tep_event_info(&s, event, &record);
|
||||
trace_seq_do_fprintf(&s, fp);
|
||||
trace_seq_destroy(&s);
|
||||
}
|
||||
|
Reference in New Issue
Block a user