Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:seq_print_user_ip

Proto:static int seq_print_user_ip(struct trace_seq *s, struct mm_struct *mm, unsigned long ip, unsigned long sym_flags)

Type:int

Parameter:

TypeParameterName
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  If full Then Return 0
393  If mm Then
396  lock for reading
397  vma = Look up the first VMA which satisfies addr < vm_end, NULL if none.
398  If vma Then
402  If file Then
403  ret = trace_seq_path(s, & f_path)
408  lease a read lock
410  If ret && ( sym_flags & TRACE_ITER_SYM_ADDR || Not file ) Then Currently only defined when tracing is enabled.
412  Return Not race_seq_has_overflowed - return true if the trace_seq took too much*@s: trace sequence descriptor* Returns true if too much data was added to the trace_seq and it is* now full and will not take anymore.
Caller
NameDescribe
trace_user_stack_printTRACE_USER_STACK