函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:output_printk

函数原型:static void output_printk(struct trace_event_buffer *fbuffer)

返回类型:void

参数:

类型参数名称
struct trace_event_buffer *fbuffer
2617  iter等于Pipe tracepoints to printk
2620  如果WARN_ON_ONCE(!iter)则返回
2623  event_call等于event_call
2624  如果非event_call或非funcs或非trace则返回
2628  event等于event
2630  spin_lock_irqsave( & tracepoint_iter_lock, flags)
2631  trace_seq_init( & The below is zeroed out in pipe_read )
2632  ent等于entry
2633  trace(iter, 0, event)
2634  trace_seq_putc( & The below is zeroed out in pipe_read , 0)
2635  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
2637  spin_unlock_irqrestore( & tracepoint_iter_lock, flags)
调用者
名称描述
trace_event_buffer_commit