Function report |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-28 11:59:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:print_trace_header
Proto:void print_trace_header(struct seq_file *m, struct trace_iterator *iter)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If critical_start Then |
Name | Describe |
---|---|
trace_latency_header | |
trace_default_header | |
print_graph_headers_flags |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |