| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Message-Id: <20230508213136.608575-12-bugaevc@gmail.com>
|
|
|
|
|
| |
Also add -Werror=old-style-definition to enforce new code.
Message-Id: <ZBZ+8xf7GHy2RT/h@jupiter.tail36e24.ts.net>
|
|
|
|
|
| |
Our variants print stack traces on failures. This will make locating
errors much easier.
|
|
|
|
|
|
|
|
|
| |
* host.c (ps_host_basic_info): int -> size_t
(ps_host_basic_info, ps_host_load_info): Likewise.
* ps.h: Update decls.
(struct proc_stat): unsigned -> size_t for task_events_info_size,
args_len, env_len.
* procstat.c (summarize_thread_waits): Fix argument type.
|
|
|
|
|
| |
* host.c (ps_get_host): Use mach_port_t instead of host_t.
* ps.h: Update decl.
|
|
|
|
|
|
|
|
| |
* host.c: Fix comments.
(ps_host_basic_info): Make INITIALIZED static; otherwise
we never cache BUF. Do not initalize static variables to 0.
(ps_host_sched_info): Likewise.
* ps.h: Doc fix.
|
|
|
|
| |
libraries. Other misc cleanups.
|
|
|
|
|
| |
(ps_host_sched_info): Likewise.
(ps_host_load_info): Likewise.
|
| |
|
|
|