On 2022-08-15 10 h 04, Elad Lahav wrote:
The problem is the use of d_type as a member of the dirent structure.
POSIX does not define such a member.
I can provide the necessary code for getting the file type in a
readdir() loop on QNX, but it seems unnecessary given that there is no
/sys file system with CPU information. The method for getting
information on processors is different, and I suspect that is true for
*BSDs and other non-Linux OSs.
--Elad
Can you try this patch [1] to see if it fixes the build on QNX? Can you
also run 'make check' in 'tests/unit', the linux specific tests should
be skipped.
Michael
[1] https://review.lttng.org/c/userspace-rcu/+/8664
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev