hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/arch/sh/kernel/perf_callchain.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * Performance event callchain support - SuperH architecture code
34 *
45 * Copyright (C) 2009 Paul Mundt
5
- *
6
- * This file is subject to the terms and conditions of the GNU General Public
7
- * License. See the file "COPYING" in the main directory of this archive
8
- * for more details.
96 */
107 #include <linux/kernel.h>
118 #include <linux/sched.h>
....@@ -13,11 +10,6 @@
1310 #include <linux/percpu.h>
1411 #include <asm/unwinder.h>
1512 #include <asm/ptrace.h>
16
-
17
-static int callchain_stack(void *data, char *name)
18
-{
19
- return 0;
20
-}
2113
2214 static void callchain_address(void *data, unsigned long addr, int reliable)
2315 {
....@@ -28,7 +20,6 @@
2820 }
2921
3022 static const struct stacktrace_ops callchain_ops = {
31
- .stack = callchain_stack,
3223 .address = callchain_address,
3324 };
3425