Lines Matching refs:read

39 		int read;  in write_samples()  local
51 read = snprintf(entry->comm, sizeof(entry->comm), "%u", i); in write_samples()
52 if (read <= 0) { in write_samples()
56 ASSERT_GT(read, 0, "snprintf_comm"); in write_samples()
57 err = read; in write_samples()
175 ASSERT_EQ(skel->bss->read, 0, "no_reads_after_load"); in load_skel_create_ringbufs()
211 ASSERT_EQ(skel->bss->read, 0, "num_samples_before_bad_sample"); in manually_write_test_invalid_sample()
229 ASSERT_EQ(skel->bss->read, 0, "num_samples_after_bad_sample"); in manually_write_test_invalid_sample()
294 ASSERT_EQ(skel->bss->read, 0, "num_samples_read_before"); in test_user_ringbuf_basic()
300 ASSERT_EQ(skel->bss->read, 2, "num_samples_read_after"); in test_user_ringbuf_basic()
323 ASSERT_EQ(skel->bss->read, 0, "num_samples_read_before"); in test_user_ringbuf_sample_full_ring_buffer()
325 ASSERT_EQ(skel->bss->read, 1, "num_samples_read_after"); in test_user_ringbuf_sample_full_ring_buffer()
348 ASSERT_EQ(skel->bss->read, 0, "num_samples_read_before"); in test_user_ringbuf_post_alignment_autoadjust()
350 ASSERT_EQ(skel->bss->read, 1, "num_samples_read_after"); in test_user_ringbuf_post_alignment_autoadjust()
368 ASSERT_EQ(skel->bss->read, c_max_entries, "max_entries"); in test_user_ringbuf_overfill()
385 ASSERT_EQ(skel->bss->read, 0, "num_samples_read_before"); in test_user_ringbuf_discards_properly_ignored()
401 ASSERT_EQ(skel->bss->read, 0, "num_pre_kick"); in test_user_ringbuf_discards_properly_ignored()
403 ASSERT_EQ(skel->bss->read, 0, "num_post_kick"); in test_user_ringbuf_discards_properly_ignored()
447 ASSERT_EQ(skel->bss->read, total_samples - remaining_samples, in test_user_ringbuf_loop()
450 ASSERT_EQ(skel->bss->read, total_samples, "total_batched_entries"); in test_user_ringbuf_loop()
617 ASSERT_EQ(skel->bss->read, 0, "num_samples_read_before"); in test_user_ringbuf_blocking_reserve()
635 ASSERT_EQ(skel->bss->read, 0, "num_pre_kick"); in test_user_ringbuf_blocking_reserve()
655 ASSERT_GT(skel->bss->read, 0, "num_post_kill"); in test_user_ringbuf_blocking_reserve()
656 ASSERT_LE(skel->bss->read, num_written, "num_post_kill"); in test_user_ringbuf_blocking_reserve()