/external/perfetto/src/profiling/memory/ |
D | client_api_benchmark.cc | 60 auto ringbuf = SharedRingBuffer::Create(8 * 1048576); in ConstructClient() local 61 ringbuf->InfiniteBufferForTesting(); in ConstructClient() 62 PERFETTO_CHECK(ringbuf); in ConstructClient() 65 g_shmem_fd = ringbuf->fd(); in ConstructClient() 67 g_client_config, std::move(*ringbuf), in ConstructClient() 81 auto ringbuf = SharedRingBuffer::Attach(base::ScopedFile(dup(g_shmem_fd))); in BM_ClientApiOneTenthAllocation() local 87 ringbuf->SetShuttingDown(); in BM_ClientApiOneTenthAllocation() 102 auto ringbuf = SharedRingBuffer::Attach(base::ScopedFile(dup(g_shmem_fd))); in BM_ClientApiOneHundrethAllocation() local 108 ringbuf->SetShuttingDown(); in BM_ClientApiOneHundrethAllocation() 123 auto ringbuf = SharedRingBuffer::Attach(base::ScopedFile(dup(g_shmem_fd))); in BM_ClientApiAlmostNoAllocation() local [all …]
|
D | client_api_unittest.cc | 62 auto ringbuf = SharedRingBuffer::Create(8 * 1048576); in ConstructClient() local 63 PERFETTO_CHECK(ringbuf); in ConstructClient() 66 g_shmem_fd = ringbuf->fd(); in ConstructClient() 68 g_client_config, std::move(*ringbuf), in ConstructClient() 92 auto ringbuf = SharedRingBuffer::Attach(base::ScopedFile(dup(g_shmem_fd))); in TEST() local 94 PERFETTO_CHECK(ringbuf); in TEST() 97 EXPECT_TRUE(ringbuf->BeginRead()); in TEST() 99 ringbuf->SetShuttingDown(); in TEST() 114 auto ringbuf = SharedRingBuffer::Attach(base::ScopedFile(dup(g_shmem_fd))); in TEST() local 116 PERFETTO_CHECK(ringbuf); in TEST() [all …]
|
/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | test_ringbuf.c | 18 } ringbuf SEC(".maps"); 48 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(*sample), 0); in test_ringbuf() 63 bpf_ringbuf_output(&ringbuf, sample, sizeof(*sample), flags); in test_ringbuf() 71 avail_data = bpf_ringbuf_query(&ringbuf, BPF_RB_AVAIL_DATA); in test_ringbuf() 72 ring_size = bpf_ringbuf_query(&ringbuf, BPF_RB_RING_SIZE); in test_ringbuf() 73 cons_pos = bpf_ringbuf_query(&ringbuf, BPF_RB_CONS_POS); in test_ringbuf() 74 prod_pos = bpf_ringbuf_query(&ringbuf, BPF_RB_PROD_POS); in test_ringbuf()
|
D | ringbuf_bench.c | 12 } ringbuf SEC(".maps"); 29 sz = bpf_ringbuf_query(&ringbuf, BPF_RB_AVAIL_DATA); in get_flags() 41 sample = bpf_ringbuf_reserve(&ringbuf, in bench_ringbuf() 54 if (bpf_ringbuf_output(&ringbuf, &sample_val, in bench_ringbuf()
|
D | ima.c | 17 } ringbuf SEC(".maps"); 36 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(u64), 0); in BPF_PROG()
|
D | test_d_path_check_types.c | 12 } ringbuf SEC(".maps");
|
D | map_ptr_kern.c | 655 struct bpf_ringbuf_map *ringbuf = (struct bpf_ringbuf_map *)&m_ringbuf; in check_ringbuf() local 658 VERIFY(check(&ringbuf->map, map, 0, 0, page_size)); in check_ringbuf()
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | test_ima.c | 46 struct ring_buffer *ringbuf = NULL; in test_test_ima() local 57 ringbuf = ring_buffer__new(bpf_map__fd(skel->maps.ringbuf), in test_test_ima() 59 if (!ASSERT_OK_PTR(ringbuf, "ringbuf")) in test_test_ima() 79 err = ring_buffer__consume(ringbuf); in test_test_ima() 88 ring_buffer__free(ringbuf); in test_test_ima()
|
D | ringbuf.c | 62 static struct ring_buffer *ringbuf; variable 81 return (void *)(long)ring_buffer__poll(ringbuf, timeout); in poll_thread() 97 skel->maps.ringbuf.max_entries = page_size; in test_ringbuf() 103 rb_fd = skel->maps.ringbuf.map_fd; in test_ringbuf() 152 ringbuf = ring_buffer__new(skel->maps.ringbuf.map_fd, in test_ringbuf() 154 if (CHECK(!ringbuf, "ringbuf_create", "failed to create ringbuf\n")) in test_ringbuf() 178 err = ring_buffer__poll(ringbuf, -1); in test_ringbuf() 187 err = ring_buffer__poll(ringbuf, 0); in test_ringbuf() 205 err = ring_buffer__poll(ringbuf, -1); in test_ringbuf() 280 err = ring_buffer__consume(ringbuf); in test_ringbuf() [all …]
|
D | ringbuf_multi.c | 44 struct ring_buffer *ringbuf = NULL; in test_ringbuf_multi() local 83 ringbuf = ring_buffer__new(bpf_map__fd(skel->maps.ringbuf1), in test_ringbuf_multi() 85 if (CHECK(!ringbuf, "ringbuf_create", "failed to create ringbuf\n")) in test_ringbuf_multi() 88 err = ring_buffer__add(ringbuf, bpf_map__fd(skel->maps.ringbuf2), in test_ringbuf_multi() 112 err = ring_buffer__poll(ringbuf, -1); in test_ringbuf_multi() 117 err = ring_buffer__poll(ringbuf, 0); in test_ringbuf_multi() 131 ring_buffer__free(ringbuf); in test_ringbuf_multi()
|
/external/linux-kselftest/tools/testing/selftests/bpf/benchs/ |
D | bench_ringbufs.c | 124 struct ring_buffer *ringbuf; member 154 bpf_map__resize(skel->maps.ringbuf, args.ringbuf_sz); in ringbuf_setup_skeleton() 176 ctx->ringbuf = ring_buffer__new(bpf_map__fd(ctx->skel->maps.ringbuf), in ringbuf_libbpf_setup() 178 if (!ctx->ringbuf) { in ringbuf_libbpf_setup() 194 while (ring_buffer__poll(ctx->ringbuf, -1) >= 0) { in ringbuf_libbpf_consumer() 213 struct ringbuf_custom ringbuf; member 243 r = &ctx->ringbuf; in ringbuf_custom_setup() 244 r->map_fd = bpf_map__fd(ctx->skel->maps.ringbuf); in ringbuf_custom_setup() 335 ringbuf_custom_process_ring(&ctx->ringbuf); in ringbuf_custom_consumer()
|
/external/bcc/src/cc/export/ |
D | helpers.h | 236 __attribute__((section("maps/ringbuf"))) \
|
/external/libbpf/src/ |
D | bpf_helper_defs.h | 3120 static long (*bpf_ringbuf_output)(void *ringbuf, void *data, __u64 size, __u64 flags) = (void *) 13… 3132 static void *(*bpf_ringbuf_reserve)(void *ringbuf, __u64 size, __u64 flags) = (void *) 131; 3189 static __u64 (*bpf_ringbuf_query)(void *ringbuf, __u64 flags) = (void *) 134;
|
D | Makefile | 39 btf_dump.o hashmap.o ringbuf.o strset.o linker.o gen_loader.o \
|
/external/libbpf/ |
D | Android.bp | 107 "src/ringbuf.c",
|
/external/libbpf/travis-ci/vmtest/configs/blacklist/ |
D | BLACKLIST-latest.s390x | 31 ringbuf # skel_load skeleton load failed …
|
D | BLACKLIST-5.5.0 | 61 ringbuf # BPF_MAP_TYPE_RINGBUF is supported in 5.8+
|
/external/liburing/test/ |
D | Makefile | 129 ringbuf-read.c \
|
/external/bpftool/docs/ |
D | bpftool-map.rst | 57 | | **queue** | **stack** | **sk_storage** | **struct_ops** | **ringbuf** | **inode_storage**
|
/external/bcc/docs/ |
D | reference_guide.md | 750 Creates a BPF table for pushing out custom event data to user space via a ringbuf ring buffer. 774 // Creates a ringbuf called events with 8 pages of space, shared across all CPUs 2014 This polls from all open ringbuf ring buffers, calling the callback function that was provided when… 2038 This consumes from all open ringbuf ring buffers, calling the callback function that was provided w… 2365 …ringbuf ring buffer. This is part of the new (Linux 5.8+) recommended mechanism for transferring p…
|
/external/bpftool/bash-completion/ |
D | bpftool | 713 struct_ops ringbuf inode_storage task_storage \
|