mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
- Move the code from nvmap_priv.h to relevant units. - Delete nvmap_priv.h JIRA TMM-5751 Change-Id: Ic0df459fb9db0714a1b2a65b463fae8adbbc49f1 Signed-off-by: Ketan Patil <ketanp@nvidia.com> Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3232636 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
28 lines
753 B
C
28 lines
753 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* SPDX-FileCopyrightText: Copyright (c) 2011-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __NVMAP_DEBUG_H
|
|
#define __NVMAP_DEBUG_H
|
|
|
|
#include "nvmap_stats.h"
|
|
#if defined(CONFIG_DEBUG_FS)
|
|
void nvmap_debug_init(struct dentry **nvmap_debug_root);
|
|
void nvmap_debug_free(struct dentry *nvmap_debug_root);
|
|
#else
|
|
static inline void nvmap_debug_init(struct dentry **nvmap_debug_root)
|
|
{
|
|
}
|
|
static inline void nvmap_debug_free(struct dentry *nvmap_debug_root)
|
|
{
|
|
}
|
|
#endif
|
|
struct dentry *nvmap_debug_create_debugfs_handles_by_pid(
|
|
const char *name,
|
|
struct dentry *parent,
|
|
void *data);
|
|
void nvmap_debug_remove_debugfs_handles_by_pid(struct dentry *d);
|
|
|
|
#endif /* __NVMAP_DEBUG_H */
|