函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_uprobe.c Create Date:2022-07-27 13:56:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Event entry printers

函数原型:static enum print_line_t print_uprobe_event(struct trace_iterator *iter, int flags, struct trace_event *event)

返回类型:enum print_line_t

参数:

类型参数名称
struct trace_iterator *iter
intflags
struct trace_event *event
1004  s等于 The below is zeroed out in pipe_read
1008  entry等于ent
1009  tu等于trace_uprobe_primary_from_call(container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(event, structtrace_event_call, event))
1011  如果此条件成立可能性小(为编译器优化)(!tu)则转到:out
1014  如果is_ret_probe(tu)则
1015  race_seq_printf - sequence printing of trace information*@s: trace sequence descriptor*@fmt: printf format string* The tracer may use either sequence operations or its own* copy to user routines
1018  data等于DATAOF_TRACE_ENTRY(entry, true)
1019  否则
1020  race_seq_printf - sequence printing of trace information*@s: trace sequence descriptor*@fmt: printf format string* The tracer may use either sequence operations or its own* copy to user routines
1023  data等于DATAOF_TRACE_ENTRY(entry, false)
1026  如果print_probe_args(s, args, nr_args, data, entry)小于0则转到:out
1029  race_seq_putc - trace sequence printing of simple character*@s: trace sequence descriptor*@c: simple character to record* The tracer may use either the sequence operations or its own* copy to user routines
1031  out :
1032  返回:Several functions return TRACE_TYPE_PARTIAL_LINE if the trace_seq* overflowed, and TRACE_TYPE_HANDLED otherwise. This helper function* simplifies those functions and keeps them in sync.