linux/kernel/trace/rv/monitors/wwnr/wwnr.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/ftrace.h>
#include <linux/tracepoint.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/rv.h>
#include <rv/instrumentation.h>
#include <rv/da_monitor.h>

#define MODULE_NAME

#include <trace/events/rv.h>
#include <trace/events/sched.h>

#include "wwnr.h"

static struct rv_monitor rv_wwnr;
DECLARE_DA_MON_PER_TASK(wwnr, unsigned char);

static void handle_switch(void *data, bool preempt, struct task_struct *p,
			  struct task_struct *n, unsigned int prev_state)
{}

static void handle_wakeup(void *data, struct task_struct *p)
{}

static int enable_wwnr(void)
{}

static void disable_wwnr(void)
{}

static struct rv_monitor rv_wwnr =;

static int __init register_wwnr(void)
{}

static void __exit unregister_wwnr(void)
{}

module_init();
module_exit(unregister_wwnr);

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();