summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2017-05-31 23:56:52 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2017-06-13 23:11:08 +0200
commitff910cfdc6e928c31344245cca70e391634ba560 (patch)
treee8f4eaa13e629a59fa80455003c744210e298e64 /arch/arm64
parenttracing: define TRACE_DEFINE_SIZEOF() macro to map sizeof's to their values (diff)
downloadlinux-ff910cfdc6e928c31344245cca70e391634ba560.tar.xz
linux-ff910cfdc6e928c31344245cca70e391634ba560.zip
tracing: Add TRACE_DEFINE_SIZEOF() macros
There are a few places in the kernel where sizeof() is already being used. Update those locations with TRACE_DEFINE_SIZEOF. Link: http://lkml.kernel.org/r/20170531215653.3240-12-jeremy.linton@arm.com Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/kvm/trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/kvm/trace.h b/arch/arm64/kvm/trace.h
index 7fb0008c4fa3..5188c7007169 100644
--- a/arch/arm64/kvm/trace.h
+++ b/arch/arm64/kvm/trace.h
@@ -93,6 +93,8 @@ TRACE_EVENT(kvm_arm_set_dreg32,
TP_printk("%s: 0x%08x", __entry->name, __entry->value)
);
+TRACE_DEFINE_SIZEOF(__u64);
+
TRACE_EVENT(kvm_arm_set_regset,
TP_PROTO(const char *type, int len, __u64 *control, __u64 *value),
TP_ARGS(type, len, control, value),