/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_ipv6_route.c | 32 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()
|
D | bpf_iter_unix.c | 38 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()
|
D | bpf_iter_task_vma.c | 42 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()
|
D | bpf_iter_tcp4.c | 123 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()
|
D | bpf_iter_netlink.c | 28 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()
|
D | bpf_iter_tcp6.c | 123 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()
|
D | bpf_iter_task.c | 16 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()
|
D | bpf_iter_bpf_map.c | 16 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()
|
D | bpf_iter_task_stack.c | 27 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()
|
D | bpf_iter_udp4.c | 40 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()
|
D | bpf_iter_bpf_hash_map.c | 103 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()
|
D | bpf_iter_udp6.c | 48 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()
|
D | bpf_iter_task_file.c | 24 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()
|
D | bpf_iter_task_btf.c | 28 BPF_SEQ_PRINTF(seq, "Raw BTF task\n"); in dump_task_struct()
|
/external/libbpf/src/ |
D | bpf_helpers.h | 187 #define BPF_SEQ_PRINTF(seq, fmt, args...) \ macro
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | README.rst | 98 ; 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);
|