At the moment, sinsp_fdinfo.m_type uses the scap_fd_type, but this makes it hard to introduce new versions of the same type in libscap, without having to touch all the sinsp related code.
I propose we introduce a sinsp_fd_type and we map scap_fd_type to sinsp_fd_type in the moment we add a fd to a thread.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
At the moment,
sinsp_fdinfo.m_type
uses thescap_fd_type
, but this makes it hard to introduce new versions of the same type in libscap, without having to touch all the sinsp related code.I propose we introduce a
sinsp_fd_type
and we mapscap_fd_type
tosinsp_fd_type
in the moment we add a fd to a thread.