Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Returns any file that matches the system and event

Proto:struct trace_event_file *__find_event_file(struct trace_array *tr, const char *system, const char *event)

Type:struct trace_event_file

Parameter:

TypeParameterName
struct trace_array *tr
const char *system
const char *event
2511  call = event_call
2512  name = trace_event_name(call)
2514  If Not name || Not class Then Continue
2517  If strcmp(event, name) == 0 && strcmp(system, system) == 0 Then Return file
2521  Return NULL
Caller
NameDescribe
find_event_fileReturns valid trace event files that match system and event
event_file