linux/fs/f2fs/debug.c

// SPDX-License-Identifier: GPL-2.0
/*
 * f2fs debugging statistics
 *
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 *             http://www.samsung.com/
 * Copyright (c) 2012 Linux Foundation
 * Copyright (c) 2012 Greg Kroah-Hartman <[email protected]>
 */

#include <linux/fs.h>
#include <linux/backing-dev.h>
#include <linux/f2fs_fs.h>
#include <linux/blkdev.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>

#include "f2fs.h"
#include "node.h"
#include "segment.h"
#include "gc.h"

static LIST_HEAD(f2fs_stat_list);
static DEFINE_RAW_SPINLOCK(f2fs_stat_lock);
#ifdef CONFIG_DEBUG_FS
static struct dentry *f2fs_debugfs_root;
#endif

/*
 * This function calculates BDF of every segments
 */
void f2fs_update_sit_info(struct f2fs_sb_info *sbi)
{}

#ifdef CONFIG_DEBUG_FS
static void update_general_status(struct f2fs_sb_info *sbi)
{}

/*
 * This function calculates memory footprint.
 */
static void update_mem_info(struct f2fs_sb_info *sbi)
{}

static const char *s_flag[MAX_SBI_FLAG] =;

static const char *ipu_mode_names[F2FS_IPU_MAX] =;

static int stat_show(struct seq_file *s, void *v)
{}

DEFINE_SHOW_ATTRIBUTE();
#endif

int f2fs_build_stats(struct f2fs_sb_info *sbi)
{}

void f2fs_destroy_stats(struct f2fs_sb_info *sbi)
{}

void __init f2fs_create_root_stats(void)
{}

void f2fs_destroy_root_stats(void)
{}