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:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:onoff_get_trigger_ops

Proto:static struct event_trigger_ops *onoff_get_trigger_ops(char *cmd, char *param)

Type:struct event_trigger_ops

Parameter:

TypeParameterName
char *cmd
char *param
1029  If strcmp(cmd, "traceon") == 0 Then ops = If param Then traceon_count_trigger_ops Else traceon_trigger_ops
1032  Else ops = If param Then traceoff_count_trigger_ops Else traceoff_trigger_ops
1036  Return ops