perf tools: traceevent API cleanup, remove __tep_data2host*()
authorTzvetomir Stoyanov <tstoyanov@vmware.com>
Fri, 30 Nov 2018 15:44:09 +0000 (10:44 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Dec 2018 17:56:08 +0000 (14:56 -0300)
commitf0bba09ce3f88ddeef7a3e45f612d26b1e951d5b
tree6aa6e09d9bb6f055f766516f87bf28e7d8797f88
parentfc39851c455ce9e593302c9e376cdb9593c10704
perf tools: traceevent API cleanup, remove __tep_data2host*()

In order to make libtraceevent into a proper library, its API should be
straightforward. The __tep_data2host*() functions are going to no longer
be available as a libtraceevent API, tep_read_number() should be used
instead. This patch replaces __tep_data2host*() usage with
tep_read_number() in perf.

Signed-off-by: Tzvetomir Stoyanov <tstoyanov@vmware.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20181130154647.743979275@goodmis.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/trace-event-read.c