Function report |
Source Code:kernel\trace\trace_uprobe.c |
Create Date:2022-07-28 12:45:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:uprobe_event_define_fields
Proto:static int uprobe_event_define_fields(struct trace_event_call *event_call)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_event_call * | event_call |
1169 | If Value for the false possibility is greater at compile time(!tu) Then Return -ENODEV |
1172 | If is_ret_probe(tu) Then |
1173 | DEFINE_FIELD(unsignedlong, vaddr[0], FIELD_STRING_FUNC, 0) |
1174 | DEFINE_FIELD(unsignedlong, vaddr[1], FIELD_STRING_RETIP, 0) |
1175 | size = SIZEOF_TRACE_ENTRY(true) |
1176 | Else |
1177 | DEFINE_FIELD(unsignedlong, vaddr[0], Reserved field names , 0) |
1178 | size = SIZEOF_TRACE_ENTRY(false) |
1181 | Return traceprobe_define_arg_fields(event_call, size, & tp) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |