Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_functions_graph.c Create Date:2022-07-28 12:12:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trace_graph_return

Proto:void trace_graph_return(struct ftrace_graph_ret *trace)

Type:void

Parameter:

TypeParameterName
struct ftrace_graph_ret *trace
239  tr = graph_array
246  ftrace_graph_addr_finish(trace)
248  If trace_recursion_test(TRACE_GRAPH_NOTRACE_BIT) Then
249  trace_recursion_clear(TRACE_GRAPH_NOTRACE_BIT)
250  Return
253  local_irq_save(flags)
254  cpu = These macros fold the SMP functionality into a single CPU system()
255  data = per_cpu_ptr(data, cpu)
256  disabled = atomic_inc_return( & disabled)
257  If Value is more likely to compile time(disabled == 1) Then
258  pc = We mask the PREEMPT_NEED_RESCHED bit so as not to confuse all current users* that think a non-zero value indicates we cannot preempt.
259  __trace_graph_return(tr, trace, flags, pc)
261  atomic_dec( & disabled)
262  local_irq_restore(flags)
Caller
NameDescribe
trace_graph_thresh_return