Re: [PATCH] tracing/xen: Hide events that are not used when X86_PAE is not defined
From: Steven Rostedt
Date: Wed Oct 11 2017 - 21:05:34 EST
On Tue, 10 Oct 2017 19:25:10 -0400
Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> wrote:
> On 10/10/2017 07:12 PM, Steven Rostedt wrote:
> > From: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
> >
> > 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.
> >
> > Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
>
> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
>
Thanks Boris,
-- Steve