Home
last modified time | relevance | path

Searched refs:BPF_SEQ_PRINTF (Results 1 – 16 of 16) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c32 BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_dst.addr, rt->fib6_dst.plen); in dump_ipv6_route()
35 BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_src.addr, in dump_ipv6_route()
38 BPF_SEQ_PRINTF(seq, "00000000000000000000000000000000 00 "); in dump_ipv6_route()
42 BPF_SEQ_PRINTF(seq, "%pi6 ", &fib6_nh->fib_nh_gw6); in dump_ipv6_route()
44 BPF_SEQ_PRINTF(seq, "00000000000000000000000000000000 "); in dump_ipv6_route()
49 BPF_SEQ_PRINTF(seq, "%08x %08x %08x %08x %8s\n", rt->fib6_metric, in dump_ipv6_route()
52 BPF_SEQ_PRINTF(seq, "%08x %08x %08x %08x\n", rt->fib6_metric, in dump_ipv6_route()
Dbpf_iter_unix.c38 BPF_SEQ_PRINTF(seq, "Num RefCount Protocol Flags Type St Inode Path\n"); in dump_unix()
40 BPF_SEQ_PRINTF(seq, "%pK: %08X %08X %08X %04X %02X %8lu", in dump_unix()
53 BPF_SEQ_PRINTF(seq, " %s", unix_sk->addr->name->sun_path); in dump_unix()
63 BPF_SEQ_PRINTF(seq, " @"); in dump_unix()
70 BPF_SEQ_PRINTF(seq, "%c", in dump_unix()
77 BPF_SEQ_PRINTF(seq, "\n"); in dump_unix()
Dbpf_iter_task_vma.c42 BPF_SEQ_PRINTF(seq, "%08llx-%08llx %s ", vma->vm_start, vma->vm_end, perm_str); in proc_maps()
49 BPF_SEQ_PRINTF(seq, "%08llx ", vma->vm_pgoff << 12); in proc_maps()
50 BPF_SEQ_PRINTF(seq, "%02x:%02x %u", MAJOR(dev), MINOR(dev), in proc_maps()
52 BPF_SEQ_PRINTF(seq, "\t%s\n", d_path_buf); in proc_maps()
54 BPF_SEQ_PRINTF(seq, "%08llx 00:00 0\n", 0ULL); in proc_maps()
Dbpf_iter_tcp4.c123 BPF_SEQ_PRINTF(seq, "%4d: %08X:%04X %08X:%04X ", in dump_tcp_sock()
125 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d ", in dump_tcp_sock()
134 BPF_SEQ_PRINTF(seq, "%pK %lu %lu %u %u %d\n", in dump_tcp_sock()
161 BPF_SEQ_PRINTF(seq, "%4d: %08X:%04X %08X:%04X ", in dump_tw_sock()
164 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5d %8d %d %d %pK\n", in dump_tw_sock()
184 BPF_SEQ_PRINTF(seq, "%4d: %08X:%04X %08X:%04X ", in dump_req_sock()
188 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5d %8d %d %d %pK\n", in dump_req_sock()
211 BPF_SEQ_PRINTF(seq, " sl " in dump_tcp4()
Dbpf_iter_netlink.c28 BPF_SEQ_PRINTF(seq, "sk Eth Pid Groups " in dump_netlink()
33 BPF_SEQ_PRINTF(seq, "%pK %-3d ", s, s->sk_protocol); in dump_netlink()
43 BPF_SEQ_PRINTF(seq, "%-10u %08x %-8d %-8d %-5d %-8d ", in dump_netlink()
60 BPF_SEQ_PRINTF(seq, "%-8u %-8lu\n", s->sk_drops.counter, ino); in dump_netlink()
Dbpf_iter_tcp6.c123 BPF_SEQ_PRINTF(seq, "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X ", in dump_tcp6_sock()
129 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d ", in dump_tcp6_sock()
138 BPF_SEQ_PRINTF(seq, "%pK %lu %lu %u %u %d\n", in dump_tcp6_sock()
166 BPF_SEQ_PRINTF(seq, "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X ", in dump_tw_sock()
173 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5d %8d %d %d %pK\n", in dump_tw_sock()
196 BPF_SEQ_PRINTF(seq, "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X ", in dump_req_sock()
204 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5d %8d %d %d %pK\n", in dump_req_sock()
227 BPF_SEQ_PRINTF(seq, " sl " in dump_tcp6()
Dbpf_iter_task.c16 BPF_SEQ_PRINTF(seq, "%s\n", info); in dump_task()
21 BPF_SEQ_PRINTF(seq, " tgid gid\n"); in dump_task()
23 BPF_SEQ_PRINTF(seq, "%8d %8d\n", task->tgid, task->pid); in dump_task()
Dbpf_iter_bpf_map.c16 BPF_SEQ_PRINTF(seq, " %%%%%% END %%%%%%\n"); in dump_bpf_map()
21 BPF_SEQ_PRINTF(seq, " id refcnt usercnt locked_vm\n"); in dump_bpf_map()
23 BPF_SEQ_PRINTF(seq, "%8u %8ld %8ld %10lu\n", map->id, map->refcnt.counter, in dump_bpf_map()
Dbpf_iter_task_stack.c27 BPF_SEQ_PRINTF(seq, "pid: %8u num_entries: %8u\n", task->pid, in dump_task_stack()
31 BPF_SEQ_PRINTF(seq, "[<0>] %pB\n", (void *)entries[i]); in dump_task_stack()
33 BPF_SEQ_PRINTF(seq, "\n"); in dump_task_stack()
Dbpf_iter_udp4.c40 BPF_SEQ_PRINTF(seq, in dump_udp4()
57 BPF_SEQ_PRINTF(seq, "%5d: %08X:%04X %08X:%04X ", in dump_udp4()
60 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d %pK %u\n", in dump_udp4()
Dbpf_iter_bpf_hash_map.c103 BPF_SEQ_PRINTF(seq, "map dump starts\n"); in dump_bpf_hash_map()
106 BPF_SEQ_PRINTF(seq, "map dump ends\n"); in dump_bpf_hash_map()
110 BPF_SEQ_PRINTF(seq, "%d: (%x %d %x) (%llx)\n", map->id, in dump_bpf_hash_map()
Dbpf_iter_udp6.c48 BPF_SEQ_PRINTF(seq, IPV6_SEQ_DGRAM_HEADER); in dump_udp6()
61 BPF_SEQ_PRINTF(seq, "%5d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X ", in dump_udp6()
68 BPF_SEQ_PRINTF(seq, "%02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d %pK %u\n", in dump_udp6()
Dbpf_iter_task_file.c24 BPF_SEQ_PRINTF(seq, " tgid gid fd file\n"); in dump_task_file()
30 BPF_SEQ_PRINTF(seq, "%8d %8d %8d %lx\n", task->tgid, task->pid, fd, in dump_task_file()
Dbpf_iter_task_btf.c28 BPF_SEQ_PRINTF(seq, "Raw BTF task\n"); in dump_task_struct()
/external/libbpf/src/
Dbpf_helpers.h187 #define BPF_SEQ_PRINTF(seq, fmt, args...) \ macro
/external/linux-kselftest/tools/testing/selftests/bpf/
DREADME.rst98 ; BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_dst.addr, rt->fib6_dst.plen);
111 ; BPF_SEQ_PRINTF(seq, "%pK %-3d ", s, s->sk_protocol);