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

Name:____bpf_get_stack_raw_tp

Proto:static inline __attribute__((__always_inline__)) u64 ____bpf_get_stack_raw_tp(struct bpf_raw_tracepoint_args *args, void *buf, u32 size, u64 flags)

Type:u64

Parameter:

TypeParameterName
struct bpf_raw_tracepoint_args *args
void *buf
u32size
u64flags
1116  regs = get_bpf_raw_tp_regs()
1119  If IS_ERR(regs) Then Return PTR_ERR(regs)
1122  perf_fetch_caller_regs(regs)
1123  ret = bpf_get_stack((unsignedlong)regs, (unsignedlong)buf, (unsignedlong)size, flags, 0)
1125  put_bpf_raw_tp_regs()
1126  Return ret