[PATCH 0/2] fgraph: fixes for thresh_return return handler

From: hu.shengming

Date: Fri Feb 20 2026 - 22:26:43 EST


From: Shengming Hu <hu.shengming@xxxxxxxxxx>

Hi,

This series fixes two issues in trace_graph_thresh_return(), the function
graph return handler used when tracing_thresh is enabled:

PATCH1: Clear the per-task TRACE_GRAPH_NOTRACE state like
trace_graph_return() does.
PATCH2: Avoid double no-sleep-time adjustment by emitting
the return event directly when the threshold is met.

Patch details are in the individual commit messages.

Shengming Hu (2):
  [PATCH 1/2] fgraph: fix thresh_return clear per-task notrace
  [PATCH 2/2] fgraph: fix thresh_return nosleeptime double-adjust

 kernel/trace/trace_functions_graph.c | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

-- 
2.25.1