Searched refs:prog_str (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/tools/bpf/bpftool/ |
D | btf_dumper.c | 43 char prog_str[1024]; in dump_prog_id_as_func_ptr() local 47 func_sig_len = btf_dump_func(d->btf, prog_str, func_proto, NULL, 0, in dump_prog_id_as_func_ptr() 48 sizeof(prog_str)); in dump_prog_id_as_func_ptr() 88 snprintf(&prog_str[func_sig_len], in dump_prog_id_as_func_ptr() 89 sizeof(prog_str) - func_sig_len, " 0"); in dump_prog_id_as_func_ptr() 91 snprintf(&prog_str[func_sig_len], in dump_prog_id_as_func_ptr() 92 sizeof(prog_str) - func_sig_len, in dump_prog_id_as_func_ptr() 95 snprintf(&prog_str[func_sig_len], in dump_prog_id_as_func_ptr() 96 sizeof(prog_str) - func_sig_len, in dump_prog_id_as_func_ptr() 99 prog_str[sizeof(prog_str) - 1] = '\0'; in dump_prog_id_as_func_ptr() [all …]
|