函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__trace_event_discard_commit

函数原型:static inline void __trace_event_discard_commit(struct ring_buffer *buffer, struct ring_buffer_event *event)

返回类型:void

参数:

类型参数名称
struct ring_buffer *buffer
struct ring_buffer_event *event
1415  如果Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(trace_buffered_event)恒等于event
1417  this_cpu_dec(trace_buffered_event_cnt)
1418  返回
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
调用者
名称描述
call_filter_check_discard
__event_trigger_test_discardHelper function for event_trigger_unlock_commit{_regs}().* If there are event triggers attached to this event that requires* filtering against its fields, then they wil be called as the* entry already holds the field information of the current event.