diff options
author | Mao Han <han_mao@c-sky.com> | 2019-02-21 16:41:26 +0300 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2019-04-22 08:44:57 +0300 |
commit | cfa4d93b977a1b1129e7207d11b5daecdf0c56c4 (patch) | |
tree | 819c1af5ddde73eb5683c992565f3ed79ae1be64 /arch/csky/kernel/ptrace.c | |
parent | 28bb030f93334495ddc64ade0bff18721bf7023d (diff) | |
download | linux-cfa4d93b977a1b1129e7207d11b5daecdf0c56c4.tar.xz |
csky: Add perf callchain support
This patch add support for perf callchain sampling on csky platform.
As fp is used to unwind the stack, the program being sampled and the
C library need to be compiled with -mbacktrace for user callchains,
kernel callchains require CONFIG_STACKTRACE = y.
Changelog:
- Coding convention with Christoph's advice for riscv's.
Signed-off-by: Mao Han <han_mao@c-sky.com>
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'arch/csky/kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions