函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_print_context

函数原型:int trace_print_context(struct trace_iterator *iter)

返回类型:int

参数:

类型参数名称
struct trace_iterator *iter
582  tr等于tr
583  s等于 The below is zeroed out in pipe_read
584  entry等于ent
589  trace_find_cmdline(pid, comm)
591  Currently only defined when tracing is enabled.
593  如果trace_flags按位与TRACE_ITER_RECORD_TGID
594  tgid等于trace_find_tgid(pid)
596  如果非tgidCurrently only defined when tracing is enabled.
598  否则Currently only defined when tracing is enabled.
602  Currently only defined when tracing is enabled.
604  如果trace_flags按位与TRACE_ITER_IRQ_INFOrace_print_lat_fmt - print the irq, preempt and lockdep fields*@s: trace seq struct to write to*@entry: The trace entry field from the ring buffer* Prints the generic fields of irqs off, in hard or softirq, preempt* count.
607  如果iter_flags按位与TRACE_FILE_TIME_IN_NS
608  t等于ns2usecs(ts)
609  usec_rem等于do_div() is NOT a C function(t, USEC_PER_SEC)
610  secs等于t
611  Currently only defined when tracing is enabled.
612  否则Currently only defined when tracing is enabled.
615  返回:非跟踪泛滥
调用者
名称描述
print_trace_fmt