summaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/plugin_kvm.c
diff options
context:
space:
mode:
authorTzvetomir Stoyanov <tstoyanov@vmware.com>2018-12-01 05:08:12 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-01-08 17:28:13 +0100
commit4104e604277016b3e6a7d120368054f9d2716953 (patch)
tree3ab33c5448eea65d3e2d83f8334836d6145d9cd1 /tools/lib/traceevent/plugin_kvm.c
parenttools lib traceevent: Changed return logic of tep_register_event_handler() API (diff)
downloadlinux-4104e604277016b3e6a7d120368054f9d2716953.tar.xz
linux-4104e604277016b3e6a7d120368054f9d2716953.zip
tools lib traceevent: Rename tep_is_file_bigendian() to tep_file_bigendian()
In order to make libtraceevent into a proper library, its API should be straightforward. After a discussion with Steven Rostedt, we decided to rename a few APIs, to have more intuitive names. This patch renames tep_is_file_bigendian() to tep_file_bigendian(). 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/20181201040852.767549746@goodmis.org Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/traceevent/plugin_kvm.c')
-rw-r--r--tools/lib/traceevent/plugin_kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/traceevent/plugin_kvm.c b/tools/lib/traceevent/plugin_kvm.c
index 754050eea467..64b9c25a1fd3 100644
--- a/tools/lib/traceevent/plugin_kvm.c
+++ b/tools/lib/traceevent/plugin_kvm.c
@@ -389,7 +389,7 @@ static int kvm_mmu_print_role(struct trace_seq *s, struct tep_record *record,
* We can only use the structure if file is of the same
* endianness.
*/
- if (tep_is_file_bigendian(event->pevent) ==
+ if (tep_file_bigendian(event->pevent) ==
tep_is_host_bigendian(event->pevent)) {
trace_seq_printf(s, "%u q%u%s %s%s %spae %snxe %swp%s%s%s",