Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:f_next

Proto:static void *f_next(struct seq_file *m, void *v, loff_t *pos)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
void *v
loff_t *pos
1212  call = event_file_data(private)
1213  common_head = ftrace_common_fields
1214  head = trace_get_fields(call)
1215  node = v
1217  pos++
1220  Case v == FORMAT_HEADER
1221  node = common_head
1222  Break
1224  Case v == FORMAT_FIELD_SEPERATOR
1225  node = head
1226  Break
1228  Case v == FORMAT_PRINTFMT
1230  Return NULL
1233  node = prev
1234  If node == common_head Then Return FORMAT_FIELD_SEPERATOR
1236  Else if node == head Then Return FORMAT_PRINTFMT
1238  Else Return node
Caller
NameDescribe
f_start