]> 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)
commite546eb2531d72e72af21ab83be8d909ff8a239b9
treed343bd17356b373133cce508a63c1de3b2f1e933
parente1b71f603fb85492640a85091100c3d559e47262
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