summaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/plugin_kmem.c
diff options
context:
space:
mode:
authorTzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>2018-08-08 20:02:53 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-08-13 20:22:05 +0200
commit59c1baee25e2b34f8e26a923ea229b3e00cab55a (patch)
treee780a3e2416c5a8a344d5b0c2980a9aafcfd0356 /tools/lib/traceevent/plugin_kmem.c
parenttools lib traceevent, perf tools: Rename pevent print APIs (diff)
downloadlinux-59c1baee25e2b34f8e26a923ea229b3e00cab55a.tar.xz
linux-59c1baee25e2b34f8e26a923ea229b3e00cab55a.zip
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>
Diffstat (limited to 'tools/lib/traceevent/plugin_kmem.c')
-rw-r--r--tools/lib/traceevent/plugin_kmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/traceevent/plugin_kmem.c b/tools/lib/traceevent/plugin_kmem.c
index a5f8641495f3..28cabe250daf 100644
--- a/tools/lib/traceevent/plugin_kmem.c
+++ b/tools/lib/traceevent/plugin_kmem.c
@@ -35,7 +35,7 @@ static int call_site_handler(struct trace_seq *s, struct tep_record *record,
if (!field)
return 1;
- if (pevent_read_number_field(field, data, &val))
+ if (tep_read_number_field(field, data, &val))
return 1;
func = pevent_find_function(event->pevent, val);