public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Add dynamic ftrace support for RISC-V platforms
@ 2018-01-10  7:38 Alan Kao
  2018-01-10  7:38 ` [PATCH 1/6] riscv/ftrace: Add RECORD_MCOUNT support Alan Kao
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Alan Kao @ 2018-01-10  7:38 UTC (permalink / raw)
  To: Palmer Dabbelt, Albert Ou, Steven Rostedt, Ingo Molnar,
	Masahiro Yamada, Kamil Rytarowski, Andrew Morton, patches,
	linux-kernel
  Cc: Alan Kao, Greentime Hu

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-01-11  8:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-10  7:38 [PATCH 0/6] Add dynamic ftrace support for RISC-V platforms Alan Kao
2018-01-10  7:38 ` [PATCH 1/6] riscv/ftrace: Add RECORD_MCOUNT support Alan Kao
2018-01-10  7:43   ` [patches] " Christoph Hellwig
2018-01-10  7:54     ` Alan Kao
2018-01-10  7:38 ` [PATCH 2/6] riscv/ftrace: Add dynamic function tracer support Alan Kao
2018-01-10 16:32   ` Steven Rostedt
2018-01-10 16:36   ` Steven Rostedt
2018-01-11  8:02     ` Alan Kao
2018-01-10  7:38 ` [PATCH 3/6] riscv/ftrace: Add dynamic function graph " Alan Kao
2018-01-10  7:38 ` [PATCH 4/6] riscv/ftrace: Add ARCH_SUPPORTS_FTRACE_OPS support Alan Kao
2018-01-10  7:38 ` [PATCH 5/6] riscv/ftrace: Add DYNAMIC_FTRACE_WITH_REGS support Alan Kao
2018-01-10  7:38 ` [PATCH 6/6] riscv/ftrace: Add HAVE_FUNCTION_GRAPH_RET_ADDR_PTR support Alan Kao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox