Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:synth_event_define_fields

Proto:static int synth_event_define_fields(struct trace_event_call *call)

Type:int

Parameter:

TypeParameterName
struct trace_event_call *call
649  offset = offsetof(typeof(trace), fields)
650  event = data
654  ret = 0
656  When i < n_fields cycle
657  size = size
658  is_signed = is_signed
659  type = type
660  name = name
661  ret = trace_define_field(call, type, name, offset, size, is_signed, FILTER_OTHER)
663  If ret Then Break
666  If is_string Then
669  Else
670  offset += sizeof(u64)
671  n_u64++
675  n_u64 = n_u64
677  Return ret