函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vent_trigger_print - Generic event_trigger_ops @print implementation*@name: The name of the event trigger*@m: The seq_file being printed to*@data: Trigger-specific data*@filter_str: filter_str to print, if present

函数原型:static int event_trigger_print(const char *name, struct seq_file *m, void *data, char *filter_str)

返回类型:int

参数:

类型参数名称
const char *name
struct seq_file *m
void *data
char *filter_str
383  count等于data
385  seq_puts(m, name)
387  如果count恒等于负1则seq_puts(m, ":unlimited")
389  否则seq_printf(m, ":count=%ld", count)
392  如果filter_strseq_printf(m, " if %s\n", filter_str)
394  否则seq_putc(m, '\n')
397  返回:0
调用者
名称描述
traceon_trigger_print
traceoff_trigger_print
stacktrace_trigger_print