summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2023-02-22 06:30:20 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2023-03-23 18:47:02 +0300
commitab9164dae27334415537ccf1c3fbabf56b7793b2 (patch)
treec378c18fa04b5d9fe23d0865a227fb76f708ec6c /tools/perf/scripts/python/exported-sql-viewer.py
parent0bf298ad2b61ae69d38826f3513e5fffc3fe3a53 (diff)
downloadlinux-ab9164dae27334415537ccf1c3fbabf56b7793b2.tar.xz
riscv: entry: Consolidate ret_from_kernel_thread into ret_from_fork
The ret_from_kernel_thread() behaves similarly with ret_from_fork(), the only difference is whether call the fn(arg) or not, this can be achieved by testing fn is NULL or not, I.E s0 is 0 or not. Many architectures have done the same thing, it makes entry.S more clean. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Reviewed-by: Björn Töpel <bjorn@rivosinc.com> Reviewed-by: Guo Ren <guoren@kernel.org> Tested-by: Guo Ren <guoren@kernel.org> Signed-off-by: Guo Ren <guoren@kernel.org> Link: https://lore.kernel.org/r/20230222033021.983168-7-guoren@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions