函数逻辑报告 |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-27 13:05:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:print_trace_header
函数原型:void print_trace_header(struct seq_file *m, struct trace_iterator *iter)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
struct trace_iterator * | iter |
3724 | sym_flags等于trace_flags按位与TRACE_ITER_SYM_MASK masks the options in trace_flags that* control the output of kernel symbols. |
3725 | buf等于trace_buffer |
3726 | data等于per_cpu_ptr(data, cpu) |
3730 | name等于"preemption" |
3734 | get_total_entries(buf, & total, & entries) |
3736 | seq_printf(m, "# %s latency trace v1.1.5 on %s\n", name, UTS_RELEASE) |
3740 | seq_printf(m, "# latency: %lu us, #%lu/%lu, CPU#%d | (M:%s VP:%d, KP:%d, SP:%d HP:%d", nsecs_to_usecs(saved_latency), entries, total, cpu, "unknown", 0, 0, 0, 0) |
3765 | seq_printf(m, "# | task: %.16s-%d (uid:%d nice:%ld policy:%ld rt_prio:%ld)\n", comm, pid, m_kuid_munged - Create a uid from a kuid user-namespace pair.*@targ: The user namespace we want a uid in.*@kuid: The kernel internal uid to start with.* Map @kuid into the user-namespace specified by @targ and* return the resulting uid., nice, policy, rt_priority) |
3772 | 如果critical_start则 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |