summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorNickhu2018-10-25 04:24:16 +0200
committerGreentime Hu2018-11-06 11:01:40 +0100
commitc8b34461705e16b94d34c96c7784009b28b3da03 (patch)
treec95f1dee343ccb975391b01c1b7fce8bb3c9e573 /usr
parentnds32: Perf porting (diff)
downloadkernel-qcow2-linux-c8b34461705e16b94d34c96c7784009b28b3da03.tar.gz
kernel-qcow2-linux-c8b34461705e16b94d34c96c7784009b28b3da03.tar.xz
kernel-qcow2-linux-c8b34461705e16b94d34c96c7784009b28b3da03.zip
nds32: Add perf call-graph support.
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions