Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tp_prog_func_proto

Proto:static const struct bpf_func_proto *tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)

Type:struct bpf_func_proto

Parameter:

TypeParameterName
enum bpf_func_idfunc_id
const struct bpf_prog *prog
950  Case func_id == BPF_FUNC_perf_event_output
951  Return bpf_perf_event_output_proto_tp
952  Case func_id == BPF_FUNC_get_stackid
953  Return bpf_get_stackid_proto_tp
954  Case func_id == BPF_FUNC_get_stack
955  Return bpf_get_stack_proto_tp
956  Default
957  Return tracing_func_proto(func_id, prog)