Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static inline bool __event_trigger_test_discard(struct trace_event_file *file, struct ring_buffer *buffer, struct ring_buffer_event *event, void *entry, enum event_trigger_type *tt)

Type:bool

Parameter:

TypeParameterName
struct trace_event_file *file
struct ring_buffer *buffer
struct ring_buffer_event *event
void *entry
enum event_trigger_type *tt
1443  eflags = * 32 bit flags: * bit 0: enabled * bit 1: enabled cmd record * bit 2: enable/disable with the soft disable bit * bit 3: soft disabled * bit 4: trigger enabled * Note: The bits must be set atomically to prevent races * from other writers. Reads of flags do
1445  If eflags & EVENT_FILE_FL_TRIGGER_COND Then tt = event_triggers_call(file, entry, event)
1448  If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from || Value for the false possibility is greater at compile time(* 32 bit flags: * bit 0: enabled * bit 1: enabled cmd record * bit 2: enable/disable with the soft disable bit * bit 3: soft disabled * bit 4: trigger enabled * Note: The bits must be set atomically to prevent races * from other writers. Reads of flags do & EVENT_FILE_FL_FILTERED) && Not filter_match_preds(filter, entry) Then
1451  __trace_event_discard_commit(buffer, event)
1452  Return true
1455  Return false