Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:____bpf_get_stackid_raw_tp

Proto:static inline __attribute__((__always_inline__)) u64 ____bpf_get_stackid_raw_tp(struct bpf_raw_tracepoint_args *args, struct bpf_map *map, u64 flags)

Type:u64

Parameter:

TypeParameterName
struct bpf_raw_tracepoint_args *args
struct bpf_map *map
u64flags
1090  regs = get_bpf_raw_tp_regs()
1093  If IS_ERR(regs) Then Return PTR_ERR(regs)
1096  perf_fetch_caller_regs(regs)
1098  ret = bpf_get_stackid((unsignedlong)regs, (unsignedlong)map, flags, 0, 0)
1100  put_bpf_raw_tp_regs()
1101  Return ret