函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_get_raw_tracepoint_module

函数原型:static struct bpf_raw_event_map *bpf_get_raw_tracepoint_module(const char *name)

返回类型:struct bpf_raw_event_map

参数:

类型参数名称
const char *name
36  struct bpf_raw_event_map * btp, * ret = NULL
40  mutex_lock( & bpf_module_mutex)
42 i小于num_bpf_raw_events循环
43  btp等于bpf_raw_events[i]
44  如果非字符串比较
47  转到:out
51  out :
52  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
53  返回:ret
调用者
名称描述
bpf_get_raw_tracepoint