Re: [PATCH] libtracefs: Destroy synthetic and eprobes before other events

Steven Rostedt <[email protected]>
Newsgroups org.kernel.vger.linux-trace-devel
Message-ID <[email protected]>
On Thu, 17 Oct 2024 09:38:35 +0100
Metin Kaya <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.