From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:20:52 +0000
Subject: [PATCH] add new system file
---
kernel/arch/sh/kernel/perf_callchain.c | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/kernel/arch/sh/kernel/perf_callchain.c b/kernel/arch/sh/kernel/perf_callchain.c
index fa2c0cd..c9d3aa1 100644
--- a/kernel/arch/sh/kernel/perf_callchain.c
+++ b/kernel/arch/sh/kernel/perf_callchain.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* Performance event callchain support - SuperH architecture code
*
* Copyright (C) 2009 Paul Mundt
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
*/
#include <linux/kernel.h>
#include <linux/sched.h>
@@ -13,11 +10,6 @@
#include <linux/percpu.h>
#include <asm/unwinder.h>
#include <asm/ptrace.h>
-
-static int callchain_stack(void *data, char *name)
-{
- return 0;
-}
static void callchain_address(void *data, unsigned long addr, int reliable)
{
@@ -28,7 +20,6 @@
}
static const struct stacktrace_ops callchain_ops = {
- .stack = callchain_stack,
.address = callchain_address,
};
--
Gitblit v1.6.2