linux/kernel/time/timekeeping_debug.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * debugfs file to track time spent in suspend
 *
 * Copyright (c) 2011, Google, Inc.
 */

#include <linux/debugfs.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/seq_file.h>
#include <linux/suspend.h>
#include <linux/time.h>

#include "timekeeping_internal.h"

#define NUM_BINS

static unsigned int sleep_time_bin[NUM_BINS] =;

static int tk_debug_sleep_time_show(struct seq_file *s, void *data)
{}
DEFINE_SHOW_ATTRIBUTE();

static int __init tk_debug_sleep_time_init(void)
{}
late_initcall(tk_debug_sleep_time_init);

void tk_debug_account_sleep_time(const struct timespec64 *t)
{}