diff options
author | Nickhu <[email protected]> | 2018-10-25 10:24:16 +0800 |
---|---|---|
committer | Greentime Hu <[email protected]> | 2018-11-06 18:01:40 +0800 |
commit | c8b34461705e16b94d34c96c7784009b28b3da03 (patch) | |
tree | c95f1dee343ccb975391b01c1b7fce8bb3c9e573 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ebd09753b5707cc083c52e1d0ec7f45dccdb73bf (diff) |
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 <[email protected]>
Acked-by: Greentime Hu <[email protected]>
Signed-off-by: Greentime Hu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions