函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:setup_boot_kprobe_events

函数原型:static __init void setup_boot_kprobe_events(void)

返回类型:void

参数:

1667  cmd等于Kprobe early definition from command line
1670  替换字符串中的所有字符
1672 cmdcmd不等于'\0'循环
1673  p等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for
1674  如果pp自加等于'\0'
1677  ret等于trace_run_command(cmd, create_or_delete_trace_kprobe)
1678  如果ret打印警告信息("Failed to add event(%d): %s\n", ret, cmd)
1680  否则kprobe_boot_events_enabled = true
1683  cmd等于p
1686  enable_boot_kprobe_events()
调用者
名称描述
init_kprobe_traceMake a tracefs interface for controlling probe points