commit | daac95e70f482e7add3305ee5e38f00dca505268 | [log] [tgz] |
---|---|---|
author | Mao Han <[email protected]> | Mon Apr 15 17:17:29 2019 +0800 |
committer | Guo Ren <[email protected]> | Mon Apr 22 13:44:57 2019 +0800 |
tree | 9b33464b7770ef5a5ca52617abca314ee01fb390 | |
parent | 0eaf50deec8d550164b3cf6a5d68ec1072916f0e [diff] |
csky: Add support for perf registers sampling This patch implements the perf registers sampling and validation API for csky arch. The valid registers and their register ID are defined in perf_regs.h. Perf tool can backtrace in userspace with unwind library and the registers/user stack dump support. Signed-off-by: Mao Han <[email protected]> Signed-off-by: Guo Ren <[email protected]>