[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190819192422.5ed79702@xhacker.debian>
Date: Mon, 19 Aug 2019 11:35:27 +0000
From: Jisheng Zhang <Jisheng.Zhang@...aptics.com>
To: Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Anil S Keshavamurthy <anil.s.keshavamurthy@...el.com>,
"Naveen N. Rao" <naveen.n.rao@...ux.ibm.com>,
Steven Rostedt <rostedt@...dmis.org>
CC: "x86@...nel.org" <x86@...nel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH 0/4] arm64: KPROBES_ON_FTRACE
Implement KPROBES_ON_FTRACE for arm64.
Applied after FTRACE_WITH_REGS:
http://lists.infradead.org/pipermail/linux-arm-kernel/2019-August/674404.html
Jisheng Zhang (4):
kprobes: adjust kprobe addr for KPROBES_ON_FTRACE
kprobes/x86: use instruction_pointer and instruction_pointer_set
kprobes: move kprobe_ftrace_handler() from x86 and make it weak
arm64: implement KPROBES_ON_FTRACE
arch/arm64/Kconfig | 1 +
arch/arm64/kernel/probes/Makefile | 1 +
arch/arm64/kernel/probes/ftrace.c | 16 +++++++++++
arch/x86/kernel/kprobes/ftrace.c | 43 ----------------------------
kernel/kprobes.c | 47 +++++++++++++++++++++++++++++++
5 files changed, 65 insertions(+), 43 deletions(-)
create mode 100644 arch/arm64/kernel/probes/ftrace.c
--
2.23.0.rc1
Powered by blists - more mailing lists