linux/include/linux/lockd/debug.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * linux/include/linux/lockd/debug.h
 *
 * Debugging stuff.
 *
 * Copyright (C) 1996 Olaf Kirch <[email protected]>
 */

#ifndef LINUX_LOCKD_DEBUG_H
#define LINUX_LOCKD_DEBUG_H

#include <linux/sunrpc/debug.h>

/*
 * Enable lockd debugging.
 * Requires RPC_DEBUG.
 */
#undef ifdebug
#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
#define ifdebug(flag)
#else
#define ifdebug
#endif

/*
 * Debug flags
 */
#define NLMDBG_SVC
#define NLMDBG_CLIENT
#define NLMDBG_CLNTLOCK
#define NLMDBG_SVCLOCK
#define NLMDBG_MONITOR
#define NLMDBG_CLNTSUBS
#define NLMDBG_SVCSUBS
#define NLMDBG_HOSTCACHE
#define NLMDBG_XDR
#define NLMDBG_ALL

#endif /* LINUX_LOCKD_DEBUG_H */