函数逻辑报告 |
Source Code:kernel\profile.c |
Create Date:2022-07-27 11:37:12 |
| Last Modify:2020-03-17 15:11:09 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:profile_setup
函数原型:int profile_setup(char *str)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| char * | str |
| 58 | schedstr[]等于"schedule" |
| 59 | sleepstr[]等于"sleep" |
| 60 | kvmstr[]等于"kvm" |
| 63 | 如果非字符串指定长度比较则 |
| 74 | 打印警告信息("kernel sleep profiling requires CONFIG_SCHEDSTATS\n") |
| 76 | 否则如果非字符串指定长度比较则 |
| 78 | 如果str[strlen - Find the length of a string*@s: The string to be sized]恒等于','则str加等于strlen - Find the length of a string*@s: The string to be sized加1 |
| 82 | 打印信息("kernel schedule profiling enabled (shift: %ld)\n", prof_shift) |
| 84 | 否则如果非字符串指定长度比较则 |
| 85 | prof_on等于KVM_PROFILING |
| 86 | 如果str[strlen - Find the length of a string*@s: The string to be sized]恒等于','则str加等于strlen - Find the length of a string*@s: The string to be sized加1 |
| 90 | 打印信息("kernel KVM profiling enabled (shift: %ld)\n", prof_shift) |
| 93 | prof_shift等于par |
| 94 | prof_on等于CPU_PROFILING |
| 95 | 打印信息("kernel profiling enabled (shift: %ld)\n", prof_shift) |
| 98 | 返回:1 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |