public inbox for linux-trace-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] fgraph: fixes for thresh_return return handler
@ 2026-02-21  3:16 hu.shengming
  2026-02-21  3:30 ` [PATCH 1/2] fgraph: fix thresh_return clear per-task notrace hu.shengming
  2026-02-21  3:33 ` [PATCH 2/2] fgraph: fix thresh_return nosleeptime double-adjust hu.shengming
  0 siblings, 2 replies; 5+ messages in thread
From: hu.shengming @ 2026-02-21  3:16 UTC (permalink / raw)
  To: rostedt, mhiramat
  Cc: mathieu.desnoyers, linux-kernel, linux-trace-kernel, zhang.run,
	yang.tao172, yang.yang29, hu.shengming


[-- Attachment #1.1.1: Type: text/plain, Size: 729 bytes --]

From: Shengming Hu <hu.shengming@zte.com.cn>

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

[-- Attachment #1.1.2: Type: text/html , Size: 1619 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-02-24  8:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-21  3:16 [PATCH 0/2] fgraph: fixes for thresh_return return handler hu.shengming
2026-02-21  3:30 ` [PATCH 1/2] fgraph: fix thresh_return clear per-task notrace hu.shengming
2026-02-24  8:33   ` Masami Hiramatsu
2026-02-21  3:33 ` [PATCH 2/2] fgraph: fix thresh_return nosleeptime double-adjust hu.shengming
2026-02-24  8:36   ` Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox