函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:event_enable_trigger_print

函数原型:int event_enable_trigger_print(struct seq_file *m, struct event_trigger_ops *ops, struct event_trigger_data *data)

返回类型:int

参数:

类型参数名称
struct seq_file *m
struct event_trigger_ops *ops
struct event_trigger_data *data
1283  enable_data等于private_data
1285  seq_printf(m, "%s:%s:%s", hist ? (enable ? ENABLE_HIST_STR : DISABLE_HIST_STR) : (enable ? Avoid typos : DISABLE_EVENT_STR), system, trace_event_name(event_call))
1292  如果count恒等于负1则seq_puts(m, ":unlimited")
1294  否则seq_printf(m, ":count=%ld", count)
1297  如果filter_strseq_printf(m, " if %s\n", filter_str)
1299  否则seq_putc(m, '\n')
1302  返回:0