mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 06:40:49 +07:00
c8b3446170
The perf call-graph option can trace the callchain between functions. This commit add the perf callchain for nds32. There are kerenl callchain and user callchain. The kerenl callchain can trace the function in kernel space. There are two type for user callchain. One for the 'optimize for size' config is set, and another one for the config is not set. The difference between two types is that the index of frame-pointer in user stack is not the same. For example: With optimize for size: User Stack: --------- | lp | --------- | gp | --------- | fp | Without optimize for size: User Stack: 1. non-leaf function: --------- | lp | --------- | fp | 2. leaf function: --------- | fp | Signed-off-by: Nickhu <nickhu@andestech.com> Acked-by: Greentime Hu <greentime@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com> |
||
---|---|---|
.. | ||
vdso | ||
asm-offsets.c | ||
atl2c.c | ||
cacheinfo.c | ||
devtree.c | ||
dma.c | ||
ex-entry.S | ||
ex-exit.S | ||
ex-scall.S | ||
ftrace.c | ||
head.S | ||
irq.c | ||
Makefile | ||
module.c | ||
nds32_ksyms.c | ||
perf_event_cpu.c | ||
process.c | ||
ptrace.c | ||
setup.c | ||
signal.c | ||
stacktrace.c | ||
sys_nds32.c | ||
syscall_table.c | ||
time.c | ||
traps.c | ||
vdso.c | ||
vmlinux.lds.S |