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

Name:kprobe_prog_func_proto

Proto:static const struct bpf_func_proto *kprobe_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
834  Case func_id == BPF_FUNC_perf_event_output
835  Return bpf_perf_event_output_proto
836  Case func_id == BPF_FUNC_get_stackid
837  Return bpf_get_stackid_proto
838  Case func_id == BPF_FUNC_get_stack
839  Return bpf_get_stack_proto
840  Case func_id == BPF_FUNC_perf_event_read_value
841  Return bpf_perf_event_read_value_proto
846  Default
847  Return tracing_func_proto(func_id, prog)