Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__ftrace_clear_event_pids

Proto:static void __ftrace_clear_event_pids(struct trace_array *tr)

Type:void

Parameter:

TypeParameterName
struct trace_array *tr
606  pid_list = cu_dereference_protected() - fetch RCU pointer when updates prevented*@p: The pointer to read, prior to dereferencing*@c: The conditions under which the dereference will take place* Return the value of the specified RCU-protected pointer, but omit(filtered_pids, lockdep_is_held( & event_mutex))
608  If Not pid_list Then Return
611  Tracepoint for task switches, performed by the scheduler:
612  Tracepoint for task switches, performed by the scheduler:
614  Tracepoint called when the task is actually woken; p->state == TASK_RUNNNG.* It it not always called from the waking context.
615  Tracepoint called when the task is actually woken; p->state == TASK_RUNNNG.* It it not always called from the waking context.
617  Tracepoint for waking up a new task:
618  Tracepoint for waking up a new task:
620  Tracepoint called when waking a task; this tracepoint is guaranteed to be* called from the waking context.
621  Tracepoint called when waking a task; this tracepoint is guaranteed to be* called from the waking context.
624  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
627  for_each_possible_cpu(cpu)
628  ({
628  ({
628  Do
628  const void * __vpp_verify = NULL
628  When 0 cycle
628  data
628  })
628  })->ignore_pid = false
630  cu_assign_pointer() - assign to RCU-protected pointer*@p: pointer to assign to*@v: value to assign (publish)* Assigns the specified value to the specified RCU-protected* pointer, ensuring that any concurrent RCU readers will see* any prior initialization(filtered_pids, NULL)
633  tracepoint_synchronize_unregister()
635  trace_free_pid_list(pid_list)
Caller
NameDescribe
ftrace_clear_event_pids
event_trace_del_tracerMust be called with event_mutex held