Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_stack.c Create Date:2022-07-28 12:11:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:t_show

Proto:static int t_show(struct seq_file *m, void *v)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
void *v
441  If v == SEQ_START_TOKEN Then
442  seq_printf(m, " Depth Size Location (%d entries)\n ----- ---- --------\n", stack_trace_nr_entries)
447  If Not stack_tracer_enabled && Not stack_trace_max_size Then print_disabled(m)
450  Return 0
453  i = v
455  If i >= stack_trace_nr_entries Then Return 0
458  If i + 1 == stack_trace_nr_entries Then size = stack_trace_index[i]
460  Else size = stack_trace_index[i] - stack_trace_index[i + 1]
463  seq_printf(m, "%3ld) %8d %5d ", i, stack_trace_index[i], size)
465  trace_lookup_stack(m, i)
467  Return 0