linux/drivers/dma-buf/sync_debug.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Sync File validation framework and debug information
 *
 * Copyright (C) 2012 Google, Inc.
 */

#include <linux/debugfs.h>
#include "sync_debug.h"

static struct dentry *dbgfs;

static LIST_HEAD(sync_timeline_list_head);
static DEFINE_SPINLOCK(sync_timeline_list_lock);
static LIST_HEAD(sync_file_list_head);
static DEFINE_SPINLOCK(sync_file_list_lock);

void sync_timeline_debug_add(struct sync_timeline *obj)
{}

void sync_timeline_debug_remove(struct sync_timeline *obj)
{}

void sync_file_debug_add(struct sync_file *sync_file)
{}

void sync_file_debug_remove(struct sync_file *sync_file)
{}

static const char *sync_status_str(int status)
{}

static void sync_print_fence(struct seq_file *s,
			     struct dma_fence *fence, bool show)
{}

static void sync_print_obj(struct seq_file *s, struct sync_timeline *obj)
{}

static void sync_print_sync_file(struct seq_file *s,
				  struct sync_file *sync_file)
{}

static int sync_info_debugfs_show(struct seq_file *s, void *unused)
{}

DEFINE_SHOW_ATTRIBUTE();

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