In preparation for making hash MMU support configurable, move THP trace point function definitions out of an otherwise hash-specific file. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20211201144153.2456614-8-npiggin@gmail.com
8 lines
221 B
C
8 lines
221 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* This file is for defining trace points and trace related helpers.
|
|
*/
|
|
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
|
|
#define CREATE_TRACE_POINTS
|
|
#include <trace/events/thp.h>
|
|
#endif
|