Re: [PATCH v5] ftrace: Get the true parent ip for function tracer

2024-11-18 Thread jeff . xie
October 8, 2024 at 11:31 AM, "Jeff Xie" wrote: I'd like to know if this patch can be merged into 6.13? > > When using both function tracer and function graph simultaneously, > > it is found that function tracer sometimes captures a fake parent ip > > (retur

[PATCH v5] ftrace: Get the true parent ip for function tracer

2024-10-07 Thread Jeff Xie
events ${INSTANCE_FOO} echo 1 > ${INSTANCE_FOO}/options/sym-offset echo 'tcp_orphan*' > ${INSTANCE_FOO}/set_ftrace_notrace echo function > ${INSTANCE_FOO}/current_tracer echo 1 > ${TRACE_PATH}/tracing_on echo 1 > ${INSTANCE_FOO}/tracing_on echo > ${TRACE_PATH}/trace

[PATCH v4] ftrace: Get the true parent ip for function tracer

2024-10-07 Thread Jeff Xie
events ${INSTANCE_FOO} echo 1 > ${INSTANCE_FOO}/options/sym-offset echo 'tcp_orphan*' > ${INSTANCE_FOO}/set_ftrace_notrace echo function > ${INSTANCE_FOO}/current_tracer echo 1 > ${TRACE_PATH}/tracing_on echo 1 > ${INSTANCE_FOO}/tracing_on echo > ${TRACE_PATH}/trace ech

Re: [PATCH v3] ftrace: Get the true parent ip for function tracer

2024-10-05 Thread jeff . xie
October 5, 2024 at 10:13 PM, "Steven Rostedt" wrote: > > On Tue, 10 Sep 2024 21:36:20 +0800 > > Jeff Xie wrote: > > > > > When using both function tracer and function graph simultaneously, > > > > it is found that fu

Re: [PATCH v3] ftrace: Get the true parent ip for function tracer

2024-10-02 Thread jeff . xie
September 10, 2024 at 9:36 PM, "Jeff Xie" wrote: Kindly ping... > > When using both function tracer and function graph simultaneously, > > it is found that function tracer sometimes captures a fake parent ip > > (return_to_handler) instead of the true parent ip

[PATCH v3] ftrace: Get the true parent ip for function tracer

2024-09-10 Thread Jeff Xie
events ${INSTANCE_FOO} echo 1 > ${INSTANCE_FOO}/options/sym-offset echo 'tcp_orphan*' > ${INSTANCE_FOO}/set_ftrace_notrace echo function > ${INSTANCE_FOO}/current_tracer echo 1 > ${TRACE_PATH}/tracing_on echo 1 > ${INSTANCE_FOO}/tracing_on echo > ${TRACE_P

Re: [RFC PATCH] function_graph: Support recording and printing the function return address

2024-09-09 Thread Jeff Xie
On Sun, Sep 8, 2024 at 10:26 PM Donglin Peng wrote: > > When using function_graph tracer to analyze the flow of kernel function > execution, it is often necessary to quickly locate the exact line of code > where the call occurs. While this may be easy at times, it can be more > time-consuming when

Re: [PATCH v2] ftrace: Get the true parent ip for function tracer

2024-09-09 Thread jeff . xie
September 9, 2024 at 11:13 PM, "Masami Hiramatsu" wrote: Hi Masami, > > On Thu, 22 Aug 2024 07:30:21 +0800 > > Jeff Xie wrote: > > > > > Currently, when using both function tracer and function graph > > simultaneously, > > > > it

Re: [PATCH v2] ftrace: Get the true parent ip for function tracer

2024-09-09 Thread jeff . xie
August 22, 2024 at 7:30 AM, "Jeff Xie" wrote: Kindly ping, any comments here? Thanks. > > Currently, when using both function tracer and function graph simultaneously, > > it is found that function tracer sometimes captures a fake parent > ip(return_to_handler)