函数逻辑报告 |
Source Code:kernel\trace\trace_sched_wakeup.c |
Create Date:2022-07-27 13:16:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:tracing_sched_wakeup_trace
函数原型:static void tracing_sched_wakeup_trace(struct trace_array *tr, struct task_struct *wakee, struct task_struct *curr, unsigned long flags, int pc)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct trace_array * | tr | |
struct task_struct * | wakee | |
struct task_struct * | curr | |
unsigned long | flags | |
int | pc |
408 | call等于event_wakeup |
413 | event等于trace_buffer_lock_reserve(buffer, TRACE_WAKE, entry的长度, flags, pc) |
415 | 如果非event则返回 |
417 | entry等于g_buffer_event_data - return the data of the event*@event: the event to get the data from |
420 | prev_state等于task_state_index(curr) |
423 | next_state等于task_state_index(wakee) |
426 | 如果非call_filter_check_discard(call, entry, buffer, event)则trace_buffer_unlock_commit(tr, buffer, event, flags, pc) |
名称 | 描述 |
---|---|
probe_wakeup |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |