[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180110073814.32338-1-alankao@andestech.com>
Date: Wed, 10 Jan 2018 15:38:08 +0800
From: Alan Kao <nonerkao@...il.com>
To: Palmer Dabbelt <palmer@...ive.com>, Albert Ou <albert@...ive.com>,
Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Kamil Rytarowski <n54@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
patches@...ups.riscv.org, linux-kernel@...r.kernel.org
Cc: Alan Kao <alankao@...estech.com>,
Greentime Hu <greentime@...estech.com>
Subject: [PATCH 0/6] Add dynamic ftrace support for RISC-V platforms
This patch set includes the building blocks of dynamic ftraces features
for RISC-V machines.
Alan Kao (6):
riscv/ftrace: Add RECORD_MCOUNT support
riscv/ftrace: Add dynamic function tracer support
riscv/ftrace: Add dynamic function graph tracer support
riscv/ftrace: Add ARCH_SUPPORTS_FTRACE_OPS support
riscv/ftrace: Add DYNAMIC_FTRACE_WITH_REGS support
riscv/ftrace: Add HAVE_FUNCTION_GRAPH_RET_ADDR_PTR support
arch/riscv/Kconfig | 3 +
arch/riscv/Makefile | 6 +-
arch/riscv/include/asm/ftrace.h | 47 ++++++++
arch/riscv/kernel/Makefile | 5 +-
arch/riscv/kernel/ftrace.c | 136 +++++++++++++++++++++-
arch/riscv/kernel/mcount-dyn.S | 244 ++++++++++++++++++++++++++++++++++++++++
arch/riscv/kernel/mcount.S | 22 ++--
arch/riscv/kernel/stacktrace.c | 6 +
scripts/recordmcount.pl | 5 +
9 files changed, 460 insertions(+), 14 deletions(-)
create mode 100644 arch/riscv/kernel/mcount-dyn.S
--
2.15.1
Powered by blists - more mailing lists