函数逻辑报告 |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-27 13:03:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__trace_bputs - write the pointer to a constant string into trace buffer*@ip: The address of the caller*@str: The constant string to write to the buffer to
函数原型:int __trace_bputs(unsigned long ip, const char *str)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | ip | |
| const char * | str |
| 904 | size等于sizeof(structbputs_entry) |
| 907 | 如果非trace_flags按位与TRACE_ITER_PRINTK的值则返回:0 |
| 917 | event等于__trace_buffer_lock_reserve(buffer, TRACE_BPUTS, size, irq_flags, pc) |
| 919 | 如果非event则返回:0 |
| 922 | entry等于g_buffer_event_data - return the data of the event*@event: the event to get the data from |
| 927 | ftrace_trace_stack( & The global_trace is the descriptor that holds the top-level tracing* buffers for the live tracing., buffer, irq_flags, 4, pc, NULL) |
| 929 | 返回:1 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |