]> git.baikalelectronics.ru Git - kernel.git/commit
nds32/ftrace: Support dynamic function tracer
authorZong Li <zong@andestech.com>
Wed, 15 Aug 2018 03:00:08 +0000 (11:00 +0800)
committerGreentime Hu <greentime@andestech.com>
Tue, 4 Sep 2018 06:45:18 +0000 (14:45 +0800)
commitab19844b8010daa9227eedc0de621a60ab3e3c6e
treed343bd17356b373133cce508a63c1de3b2f1e933
parent4316f7ee2eaddeca8692935c78628bc96cf276a2
nds32/ftrace: Support dynamic function tracer

This patch contains the implementation of dynamic function tracer.
The mcount call is composed of three instructions, so there are three
nop for enough placeholder.

Signed-off-by: Zong Li <zong@andestech.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/Kconfig
arch/nds32/include/asm/ftrace.h
arch/nds32/kernel/ftrace.c