Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:-time version of trace_event_get_offsets_<call>() that returns the last* accessible offset of trace fields excluding __dynamic_array bytes

Proto:int trace_event_get_offsets(struct trace_event_call *call)

Type:int

Parameter:

TypeParameterName
struct trace_event_call *call
209  head = trace_get_fields(call)
214  tail = list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.(head, structftrace_event_field, link)
215  Return offset + size