函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vent_trigger_unlock_commit_regs - handle triggers and finish event commit*@file: The file pointer assoctiated to the event*@buffer: The ring buffer that the event is being written to*@event: The event meta data in the ring buffer*@entry: The event

函数原型:static inline void event_trigger_unlock_commit_regs(struct trace_event_file *file, struct ring_buffer *buffer, struct ring_buffer_event *event, void *entry, unsigned long irq_flags, int pc, struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
struct trace_event_file *file
struct ring_buffer *buffer
struct ring_buffer_event *event
void *entry
unsigned longirq_flags
intpc
struct pt_regs *regs
1509  tt等于ETT_NONE
1511  如果非Helper 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.trace_buffer_unlock_commit_regs(tr, buffer, event, irq_flags, pc, regs)
1515  如果ttevent_triggers_post_call(file, tt)
调用者
名称描述
__kprobe_trace_funcKprobe handler
__kretprobe_trace_funcKretprobe handler