Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:output_printk

Proto:static void output_printk(struct trace_event_buffer *fbuffer)

Type:void

Parameter:

TypeParameterName
struct trace_event_buffer *fbuffer
2617  iter = Pipe tracepoints to printk
2620  If WARN_ON_ONCE(!iter) Then Return
2623  event_call = event_call
2624  If Not event_call || Not funcs || Not trace Then Return
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)
Caller
NameDescribe
trace_event_buffer_commit