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:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:If the pid changed since the last trace, output this event

Proto:static void verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data)

Type:void

Parameter:

TypeParameterName
struct trace_seq *s
pid_tpid
intcpu
struct fgraph_data *data
390  If Not data Then Return
393  last_pid = & (({
393  cpu
393  ({
393  Do
393  const void * __vpp_verify = NULL
393  When 0 cycle
393  cpu_data
393  })
393  })->last_pid)
395  If last_pid == pid Then Return
398  prev_pid = last_pid
399  last_pid = pid
401  If prev_pid == -1 Then Return
411  race_seq_puts - trace sequence printing of simple string*@s: trace sequence descriptor*@str: simple string to record* The tracer may use either the sequence operations or its own* copy to user routines
412  print_graph_cpu(s, cpu)
413  print_graph_proc(s, prev_pid)
414  race_seq_puts - trace sequence printing of simple string*@s: trace sequence descriptor*@str: simple string to record* The tracer may use either the sequence operations or its own* copy to user routines
415  print_graph_proc(s, pid)
416  race_seq_puts - trace sequence printing of simple string*@s: trace sequence descriptor*@str: simple string to record* The tracer may use either the sequence operations or its own* copy to user routines
Caller
NameDescribe
print_graph_prologue