@@ -779,8 +779,8 @@ static const struct bpf_func_proto bpf_send_signal_thread_proto = {
779
779
.arg1_type = ARG_ANYTHING ,
780
780
};
781
781
782
- static const struct bpf_func_proto *
783
- tracing_func_proto (enum bpf_func_id func_id , const struct bpf_prog * prog )
782
+ const struct bpf_func_proto *
783
+ bpf_tracing_func_proto (enum bpf_func_id func_id , const struct bpf_prog * prog )
784
784
{
785
785
switch (func_id ) {
786
786
case BPF_FUNC_map_lookup_elem :
@@ -865,7 +865,7 @@ kprobe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)
865
865
return & bpf_override_return_proto ;
866
866
#endif
867
867
default :
868
- return tracing_func_proto (func_id , prog );
868
+ return bpf_tracing_func_proto (func_id , prog );
869
869
}
870
870
}
871
871
@@ -975,7 +975,7 @@ tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)
975
975
case BPF_FUNC_get_stack :
976
976
return & bpf_get_stack_proto_tp ;
977
977
default :
978
- return tracing_func_proto (func_id , prog );
978
+ return bpf_tracing_func_proto (func_id , prog );
979
979
}
980
980
}
981
981
@@ -1082,7 +1082,7 @@ pe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)
1082
1082
case BPF_FUNC_read_branch_records :
1083
1083
return & bpf_read_branch_records_proto ;
1084
1084
default :
1085
- return tracing_func_proto (func_id , prog );
1085
+ return bpf_tracing_func_proto (func_id , prog );
1086
1086
}
1087
1087
}
1088
1088
@@ -1210,7 +1210,7 @@ raw_tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)
1210
1210
case BPF_FUNC_get_stack :
1211
1211
return & bpf_get_stack_proto_raw_tp ;
1212
1212
default :
1213
- return tracing_func_proto (func_id , prog );
1213
+ return bpf_tracing_func_proto (func_id , prog );
1214
1214
}
1215
1215
}
1216
1216
0 commit comments