函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_functions_graph.c Create Date:2022-07-27 13:19:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:If the pid changed since the last trace, output this event

函数原型:static void verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data)

返回类型:void

参数:

类型参数名称
struct trace_seq *s
pid_tpid
intcpu
struct fgraph_data *data
390  如果非data则返回
393  last_pid = & (({
393  cpu
393  ({
393  循环
393  const void * __vpp_verify = NULL
393  当0循环
393  cpu_data
393  })
393  })->last_pid)
395  如果last_pid恒等于pid则返回
398  prev_pid等于last_pid
399  last_pid等于pid
401  如果prev_pid恒等于负1则返回
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
调用者
名称描述
print_graph_prologue