Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:update_event_printk

Proto:static void update_event_printk(struct trace_event_call *call, struct trace_eval_map *map)

Type:void

Parameter:

TypeParameterName
struct trace_event_call *call
struct trace_eval_map *map
2163  quote = 0
2164  len = strlen - Find the length of a string*@s: The string to be sized
2166  When ptr cycle
2167  If ptr == '\\' Then
2168  ptr++
2170  If Not ptr Then Break
2172  Continue
2174  If ptr == '"' Then
2175  quote ^= 1
2176  Continue
2178  If quote Then Continue
2180  If isdigit( * ptr) Then
2182  Do
2183  ptr++
2185  When isalnum( * ptr) cycle
2186  If Not ptr Then Break
2192  Continue
2194  If isalpha( * ptr) || ptr == '_' Then
2195  If strncmp(eval_string, ptr, len) == 0 && Not isalnum(ptr[len]) && ptr[len] != '_' Then
2197  ptr = eval_replace(ptr, map, len)
2199  If WARN_ON_ONCE(!ptr) Then Return
2208  Continue
2210  skip_more :
2211  Do
2212  ptr++
2213  When isalnum( * ptr) || ptr == '_' cycle
2214  If Not ptr Then Break
2220  If ptr == '.' || ptr[0] == '-' && ptr[1] == '>' Then
2221  ptr += If ptr == '.' Then 1 Else 2
2222  If Not ptr Then Break
2224  Go to skip_more
2230  Continue
Caller
NameDescribe
trace_event_eval_update