函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-27 13:42:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hist_trigger_stacktrace_print

函数原型:static void hist_trigger_stacktrace_print(struct seq_file *m, unsigned long *stacktrace_entries, unsigned int max_entries)

返回类型:void

参数:

类型参数名称
struct seq_file *m
unsigned long *stacktrace_entries
unsigned intmax_entries
5378  spaces等于8
5381 i小于max_entries循环
5382  如果非stacktrace_entries[i]则返回
5385  seq_printf(m, "%*c", 1 + spaces, ' ')
5386  sprint_symbol - Look up a kernel symbol and return it in a text buffer*@buffer: buffer to be stored*@address: address to lookup* This function looks up a kernel symbol with @address and stores its name,* offset, size and module name to @buffer if possible
5387  seq_printf(m, "%s\n", str)
调用者
名称描述
hist_trigger_print_key