[PATCH] PowerPC: Replace kretprobe with rethook

2024-05-16 Thread Abhishek Dubey
ther archs: commit b57c2f124098 ("riscv: add riscv rethook implementation") commit 7b0a096436c2 ("LoongArch: Replace kretprobe with rethook") Signed-off-by: Abhishek Dubey --- arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/Makefile | 1 + arch/po

[PATCH] Perf: Calling available function for stats printing

2024-05-16 Thread Abhishek Dubey
For printing dump_trace, use existing stats_print() function. Signed-off-by: Abhishek Dubey --- tools/perf/builtin-report.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index dcd93ee5fc24..3cabd5b0bfec 100644

[PATCH v2] PowerPC: Replace kretprobe with rethook

2024-06-10 Thread Abhishek Dubey
ther archs: commit b57c2f124098 ("riscv: add riscv rethook implementation") commit 7b0a096436c2 ("LoongArch: Replace kretprobe with rethook") Signed-off-by: Abhishek Dubey --- arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/Makefile | 1 + arch/po

[PATCH v3] PowerPC: Replace kretprobe with rethook

2024-06-27 Thread Abhishek Dubey
ther archs: commit b57c2f124098 ("riscv: add riscv rethook implementation") commit 7b0a096436c2 ("LoongArch: Replace kretprobe with rethook") Signed-off-by: Abhishek Dubey --- Changes in v3: * Fixing return address moved to arch_rethook_fixup_return() * Addressed other minor

[PATCH] Perf: Calling available function for stats printing

2024-06-27 Thread Abhishek Dubey
For printing dump_trace, just use existing stats_print() function. Signed-off-by: Abhishek Dubey --- tools/perf/builtin-report.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 69618fb0110b..8678eebc49e6

[PATCH] perf report: Calling available function for stats printing

2024-06-28 Thread Abhishek Dubey
For printing dump_trace, just use existing stats_print() function. Signed-off-by: Abhishek Dubey --- tools/perf/builtin-report.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 9718770facb5..6edc0d4ce6fb

[PATCH v4] powerpc: Replace kretprobe code with rethook on powerpc

2024-08-05 Thread Abhishek Dubey
for powerpc once its upstream. Until then, we can have this implementation of rethook to serve current kretprobe usecases. Signed-off-by: Abhishek Dubey --- arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/Makefile | 1 + arch/powerpc/kernel/kprobes.c| 65 +--

[PATCH v4 RESEND] powerpc: Replace kretprobe code with rethook on powerpc

2024-08-30 Thread Abhishek Dubey
for powerpc once its upstream. Until then, we can have this implementation of rethook to serve current kretprobe usecases. Reviewed-by: Naveen Rao Signed-off-by: Abhishek Dubey --- arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/Makefile | 1 + arch/po