Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__trace_event_discard_commit

Proto:static inline void __trace_event_discard_commit(struct ring_buffer *buffer, struct ring_buffer_event *event)

Type:void

Parameter:

TypeParameterName
struct ring_buffer *buffer
struct ring_buffer_event *event
1415  If Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(trace_buffered_event) == event Then
1417  this_cpu_dec(trace_buffered_event_cnt)
1418  Return
1420  g_buffer_discard_commit will remove an event that has not* been committed yet. If this is used, then ring_buffer_unlock_commit* must not be called on the discarded event. This function* will try to remove the event from the ring buffer completely
Caller
NameDescribe
call_filter_check_discard