Skip to content

apps.plugin: produce system.processes_state on FreeBSD (parity with Linux/macOS) #23535

Description

@ktsaou

Follow-up to PR #23534 / issue #23296.

FreeBSD's apps_os_collect_all_pids_freebsd() also fetches struct kinfo_proc with the same BSD p_stat enum (SIDL/SRUN/SSLEEP/SSTOP/SZOMB) used by the new macOS implementation, but PROCESSES_HAVE_STATE remains 0 there too.

Tracking the same enable + map + count-before-skip pattern that was implemented for macOS in #23534.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions