Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:event_enable_trigger_print

Proto:int event_enable_trigger_print(struct seq_file *m, struct event_trigger_ops *ops, struct event_trigger_data *data)

Type:int

Parameter:

TypeParameterName
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  If count == -1 Then seq_puts(m, ":unlimited")
1294  Else seq_printf(m, ":count=%ld", count)
1297  If filter_str Then seq_printf(m, " if %s\n", filter_str)
1299  Else seq_putc(m, '\n')
1302  Return 0