]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
tracing/xen: Hide events that are not used when X86_PAE is not defined
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 10 Oct 2017 23:12:56 +0000 (19:12 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 13 Oct 2017 15:08:02 +0000 (11:08 -0400)
commite83543b495598233c3741b23bed7c82161c93e24
tree3fd063d8911744b3f272b9304a98f67e50c29f04
parentc3b5b6ed1eb4f429addfd9e8e8eb39d1a38c85d0
tracing/xen: Hide events that are not used when X86_PAE is not defined

TRACE_EVENTS() take up memory. If they are defined but not used, then
they simply waste space. If their use case is behind a define, then the
trace events should be as well.

The trace events xen_mmu_set_pte_atomic, xen_mmu_pte_clear, and
xen_mmu_pmd_clear are not used when CONFIG_X86_PAE is not defined.

Link: http://lkml.kernel.org/r/20171010191256.3d6d72cb@gandalf.local.home
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/trace/events/xen.h