Lines Matching +full:risc +full:- +full:v
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd. */
23 (unsigned long *)(fp - sizeof(struct stackframe)); in user_backtrace()
53 * $ perf record -e cpu-clock --call-graph fp ./program
54 * $ perf report --call-graph
56 * On RISC-V platform, the program being sampled and the C library
57 * need to be compiled with -fno-omit-frame-pointer, otherwise
65 /* RISC-V does not support perf in guest mode. */ in perf_callchain_user()
66 if (perf_guest_cbs && perf_guest_cbs->is_in_guest()) in perf_callchain_user()
69 fp = regs->s0; in perf_callchain_user()
70 perf_callchain_store(entry, regs->epc); in perf_callchain_user()
72 fp = user_backtrace(entry, fp, regs->ra); in perf_callchain_user()
73 while (fp && !(fp & 0x3) && entry->nr < entry->max_stack) in perf_callchain_user()
87 /* RISC-V does not support perf in guest mode. */ in perf_callchain_kernel()
88 if (perf_guest_cbs && perf_guest_cbs->is_in_guest()) { in perf_callchain_kernel()
89 pr_warn("RISC-V does not support perf in guest mode!"); in perf_callchain_kernel()