[PATCH v2 2/2] powerpc/fprobe: fix updated fprobe for function-graph tracer

2025-07-22 Thread Aditya Bodkhe
gs in fprobe exit handler") introduced HAVE_FTRACE_REGS_HAVING_PT_REGS for archs that have pt_regs in ftrace_regs. Advertise that on powerpc to reuse common definitions like ftrace_partial_regs(). Signed-off-by: Hari Bathini Signed-off-by: Aditya Bodkhe --- arch/powerpc/Kconfig |

[PATCH v2 1/2] powerpc/ftrace: support CONFIG_FUNCTION_GRAPH_RETVAL

2025-07-22 Thread Aditya Bodkhe
to directly use predefined offsets like 'GPR3' and 'GPR4' this keeps code clean and consistent with already defined offsets . After this patch, v6.14+ kernel can also be built with FPROBE on powerpc but there are a few other build and runtime dependencies for FPROBE to work

[PATCH] powerpc/ftrace: support CONFIG_FUNCTION_GRAPH_RETVAL

2025-07-07 Thread Aditya Bodkhe
to directly use predefined offsets like 'GPR3' and 'GPR4' this keeps code clean and consistent with already defined offsets . After this patch, v6.14+ kernel can also be built with FPROBE on powerpc but there are a few other build and runtime dependencies for FPROBE to work

[PATCH 2/2] powerpc/fprobe: fix updated fprobe for function-graph tracer

2025-07-07 Thread Aditya Bodkhe
gs in fprobe exit handler") introduced HAVE_FTRACE_REGS_HAVING_PT_REGS for archs that have pt_regs in ftrace_regs. Advertise that on powerpc to reuse common definitions like ftrace_partial_regs(). Signed-off-by: Hari Bathini Signed-off-by: Aditya Bodkhe --- arch/powerpc/Kconfig |

Re: [PATCH 1/2] powerpc/ftrace: support CONFIG_FUNCTION_GRAPH_RETVAL

2025-07-07 Thread Aditya Bodkhe
Posted wrong version by mistake please ignore . On 07/07/25 12:48 pm, Aditya Bodkhe wrote: commit a1be9ccc57f0 ("function_graph: Support recording and printing the return value of function") introduced support for function graph return value tracing. Additionally, commit a3ed4157b7d

[PATCH 2/2] powerpc/fprobe: fix updated fprobe for function-graph tracer

2025-07-07 Thread Aditya Bodkhe
gs in fprobe exit handler") introduced HAVE_FTRACE_REGS_HAVING_PT_REGS for archs that have pt_regs in ftrace_regs. Advertise that on powerpc to reuse common definitions like ftrace_partial_regs(). Signed-off-by: Hari Bathini Signed-off-by: Aditya Bodkhe --- arch/powerpc/Kconfig |

[PATCH 1/2] powerpc/ftrace: support CONFIG_FUNCTION_GRAPH_RETVAL

2025-07-07 Thread Aditya Bodkhe
re a few other build and runtime dependencies for FPROBE to work properly. The next patch addresses them. Signed-off-by: Aditya Bodkhe --- arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/ftrace.h| 15 + arch/powerpc/kernel/trace/ftrace_entry.S | 41 +++

Re: [PATCH 1/2] powerpc/ftrace: support CONFIG_FUNCTION_GRAPH_RETVAL

2025-06-13 Thread Aditya Bodkhe
On 03/06/25 2:22 pm, Christophe Leroy wrote: Le 28/05/2025 à 15:48, Aditya Bodkhe a écrit : [Vous ne recevez pas souvent de courriers de adity...@linux.ibm.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] From: Aditya Bodkhe commit

[PATCH 2/2] powerpc/fprobe: fix updated fprobe for function-graph tracer

2025-05-28 Thread Aditya Bodkhe
gs in fprobe exit handler") introduced HAVE_FTRACE_REGS_HAVING_PT_REGS for archs that have pt_regs in ftrace_regs. Advertise that on powerpc to reuse common definitions like ftrace_partial_regs(). Signed-off-by: Hari Bathini Signed-off-by: Aditya Bodkhe --- arch/powerpc/Kconfig |

[PATCH 1/2] powerpc/ftrace: support CONFIG_FUNCTION_GRAPH_RETVAL

2025-05-28 Thread Aditya Bodkhe
From: Aditya Bodkhe commit a1be9ccc57f0 ("function_graph: Support recording and printing the return value of function") introduced support for function graph return value tracing. Additionally, commit a3ed4157b7d8 ("fgraph: Replace fgraph_ret_regs with ftrace_regs") fu