函数逻辑报告 |
Source Code:kernel\trace\trace_irqsoff.c |
Create Date:2022-07-27 13:16:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:start_critical_timing
函数原型:static inline __attribute__((__always_inline__)) void start_critical_timing(unsigned long ip, unsigned long parent_ip, int pc)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | ip | |
unsigned long | parent_ip | |
int | pc |
373 | tr等于irqsoff_trace |
382 | 如果per_cpu(tracing_cpu, cpu)则返回 |
385 | data等于per_cpu_ptr(data, cpu) |
387 | 如果此条件成立可能性小(为编译器优化)(!data)或atomic_read( & disabled)则返回 |
390 | atomic_inc( & disabled) |
393 | preempt_timestamp等于ftrace_now(cpu) |
394 | critical_start等于如果parent_ip否则ip |
396 | local_save_flags(flags) |
400 | per_cpu(tracing_cpu, cpu)等于1 |
402 | atomic_dec( & disabled) |
名称 | 描述 |
---|---|
start_critical_timings | start and stop critical timings used to for stoppage (in idle) |
tracer_hardirqs_off | |
tracer_preempt_off |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |