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

Name:tracing_func_proto

Proto:static const struct bpf_func_proto *tracing_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
769  Case func_id == BPF_FUNC_map_lookup_elem
770  Return verifier prototypes for helper functions called from eBPF programs
771  Case func_id == BPF_FUNC_map_update_elem
772  Return bpf_map_update_elem_proto
773  Case func_id == BPF_FUNC_map_delete_elem
774  Return bpf_map_delete_elem_proto
775  Case func_id == BPF_FUNC_map_push_elem
776  Return bpf_map_push_elem_proto
777  Case func_id == BPF_FUNC_map_pop_elem
778  Return bpf_map_pop_elem_proto
779  Case func_id == BPF_FUNC_map_peek_elem
780  Return bpf_map_peek_elem_proto
781  Case func_id == BPF_FUNC_ktime_get_ns
782  Return bpf_ktime_get_ns_proto
783  Case func_id == BPF_FUNC_tail_call
784  Return bpf_tail_call_proto
785  Case func_id == BPF_FUNC_get_current_pid_tgid
786  Return bpf_get_current_pid_tgid_proto
787  Case func_id == BPF_FUNC_get_current_task
788  Return bpf_get_current_task_proto
789  Case func_id == BPF_FUNC_get_current_uid_gid
790  Return bpf_get_current_uid_gid_proto
791  Case func_id == BPF_FUNC_get_current_comm
792  Return bpf_get_current_comm_proto
793  Case func_id == BPF_FUNC_trace_printk
794  Return bpf_get_trace_printk_proto()
795  Case func_id == BPF_FUNC_get_smp_processor_id
796  Return bpf_get_smp_processor_id_proto
797  Case func_id == BPF_FUNC_get_numa_node_id
798  Return bpf_get_numa_node_id_proto
799  Case func_id == BPF_FUNC_perf_event_read
800  Return bpf_perf_event_read_proto
801  Case func_id == BPF_FUNC_probe_write_user
802  Return bpf_get_probe_write_proto()
803  Case func_id == BPF_FUNC_current_task_under_cgroup
804  Return bpf_current_task_under_cgroup_proto
805  Case func_id == BPF_FUNC_get_prandom_u32
806  Return bpf_get_prandom_u32_proto
807  Case func_id == BPF_FUNC_probe_read_user
808  Return bpf_probe_read_user_proto
809  Case func_id == BPF_FUNC_probe_read_kernel
810  Return bpf_probe_read_kernel_proto
811  Case func_id == BPF_FUNC_probe_read
812  Return bpf_probe_read_compat_proto
813  Case func_id == BPF_FUNC_probe_read_user_str
814  Return bpf_probe_read_user_str_proto
815  Case func_id == BPF_FUNC_probe_read_kernel_str
816  Return bpf_probe_read_kernel_str_proto
817  Case func_id == BPF_FUNC_probe_read_str
818  Return bpf_probe_read_compat_str_proto
820  Case func_id == BPF_FUNC_get_current_cgroup_id
821  Return bpf_get_current_cgroup_id_proto
823  Case func_id == BPF_FUNC_send_signal
824  Return bpf_send_signal_proto
825  Default
826  Return NULL
Caller
NameDescribe
kprobe_prog_func_proto
tp_prog_func_proto
pe_prog_func_proto
raw_tp_prog_func_proto