函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:seq_print_user_ip

函数原型:static int seq_print_user_ip(struct trace_seq *s, struct mm_struct *mm, unsigned long ip, unsigned long sym_flags)

返回类型:int

参数:

类型参数名称
struct trace_seq *s
struct mm_struct *mm
unsigned longip
unsigned longsym_flags
386  struct file * file = NULL
387  vmstart等于0
388  ret等于1
390  如果full则返回:0
393  如果mm
396  lock for reading
397  vma等于Look up the first VMA which satisfies addr < vm_end, NULL if none.
398  如果vma
402  如果file
403  ret等于trace_seq_path(s, & f_path)
408  lease a read lock
410  如果retsym_flags按位与TRACE_ITER_SYM_ADDR或非file的值则Currently only defined when tracing is enabled.
412  返回:非跟踪泛滥
调用者
名称描述
trace_user_stack_printTRACE_USER_STACK