On Thu, 17 Oct 2024 09:38:35 +0100 Metin Kaya <metin.kaya@xxxxxxx> wrote: > I see one more failure in this section of unit tests: > > Test: tracefs_iterate_snapshot_events API ...FAILED > 1. tracefs-utest.c:235 - ret == sizeof(struct test_sample) > 2. tracefs-utest.c:235 - ret == sizeof(struct test_sample) > 3. tracefs-utest.c:235 - ret == sizeof(struct test_sample) > Does this occur without this patch? IOW, is this caused by this patch? > I did run trace-cmd reset and unmounted my tracefs before running the > unit tests. > Please feel free to ignore if something is weirdly wrong in my setup. > > Other than that -kind of existing- failure, the patch looks good to me > (e.g., trace-cmd unit tests are working fine). Can you add a printf("ret = %d\n", ret) to find out what "ret" is? Thanks, -- Steve