Age | Commit message (Collapse) | Author |
|
If UX is defined, include "ux.h", else define hurdish stuff.
(main): Use get_privileged_ports instead of task_by_pid.
(load_image, boot_script_read_file, main, do_mach_notify_no_senders,
do_mach_notify_dead_name): Use host_exit instead of uxexit.
(boot_script_read_file): Use host_stat instead of uxstat.
(init_termstate, S_tioctl_tiocseta): Use sg_flags field in struct sgttyb.
|
|
(COMMON-OBJS, UX-OBJS): New macros.
(OBJS): Inherit most names from $(COMMON-OBJS).
(LCLHDRS): Add ux.h.
(LDFLAGS): Use target-specific value.
(uxboot.0-LDFLAGS): New macro (with contents from old LDFLAGS).
(uxboot.o, uxboot.0): New targets.
(uxboot): Target renamed from boot.a.
|
|
|
|
|
|
(main): Pass ARGP_IN_ORDER to argp_parse (it's no longer the default), and
deal with the fallout.
|
|
(ps_emit_wait): New function.
(ps_emit_string, ps_emit_string0): Use ps_stream_write_trunc_field.
(ps_get_wait): Renamed from ps_get_rpc; calling convention changed.
(ps_wait_getter): Renamed from ps_rpc_getter & contents changed accord.
(get_syscall_name, get_rpc_name): New stub functions.
|
|
(summarize_thread_waits): Return both wait and rpc info.
(get_thread_wait): New function.
(proc_stat_set_flags): Support finding wait info.
Change occurances of PSTAT_THREAD_RPC to PSTAT_THREAD_WAIT.
|
|
(PSTAT_THREAD_WAIT): Renamed from PSTAT_THREAD_RPC.
(proc_stat_thread_wait): New macro.
(ps_stream_write_trunc_field): New declaration.
|
|
(ps_stream_write_trunc_field): New function.
(_ps_stream_write_field): New function, from ps_stream_write_field.
|
|
|
|
|
|
|
|
|
|
|
|
(S_proc_handle_exceptions): Don't set E->replyport.
(S_proc_exception_raise_reply): Function removed.
|
|
|
|
(MIGSTUBS): Remove its objects.
|
|
Use integer_t where appropriate.
|
|
|
|
|
|
ps_ctty_filter, ps_unorphaned_filter, ps_parent_filter, ps_std_fmt_specs):
Make const.
|
|
ps_owner_getter, ps_owner_uid_getter, ps_ppid_getter, ps_pgrp_getter,
ps_session_getter, ps_login_col_getter, ps_num_threads_getter,
ps_args_getter, ps_state_getter, ps_rpc_getter, ps_vsize_getter,
ps_rsize_getter, ps_cur_priority_getter, ps_base_priority_getter,
ps_max_priority_getter, ps_usr_time_getter, ps_sys_time_getter,
ps_tot_time_getter, ps_rmem_frac_getter, ps_cpu_frac_getter,
ps_sleep_getter, ps_susp_count_getter, ps_proc_susp_count_getter,
ps_thread_susp_count_getter, ps_tty_getter, ps_page_faults_getter,
ps_cow_faults_getter, ps_pageins_getter, ps_msgs_sent_getter,
ps_msgs_rcvd_getter, ps_zero_fills_getter):
Make const.
|
|
|
|
|
|
When a non-option arg fails to be parsed with EINVAL, set ARG_EINVAL true,
and leave ERR as is until just before we return.
Put process_arg() in the right scope.
Deal with getopt returning EOF early because of `--'.
Make STATE.arg_num per-group.
(struct group):
Renamed process_arg field to args_processed (a count).
|
|
|
|
|
|
|
|
|
|
|
|
diskfs_try_dropping_softrefs), *lock* diskfs_node_refcnt_lock, not
mutant unlock.
(diskfs_nrele): Likewise.
|
|
(diskfs_startup_argp, diskfs_device_startup_argp): Make const.
|
|
|
|
(diskfs_set_options): Make argp structures const.
|
|
dev_startup_argp, startup_common_argp, startup_argp_parents, startup_argp,
diskfs_startup_argp):
Make const.
|
|
|
|
|
|
argument any more.
|
|
directory size to account for the worst case difference between the ext2 and
canonical formats.
|
|
fetch_root with the same flags as DIRCRED->po.
|
|
|
|
|
|
(FVAL): New macro.
|
|
|
|
|
|
hol_entry_first_short, hol_entry_first_long, hol_find_entry, hol_sort,
hol_entry_help, argp_hol, argp_args_usage, argp_doc, argp_help, argp_error):
Add `const' where appropriate.
|
|
Add `const' where appropriate.
|
|
argp_error, _option_is_short, _option_is_end): Add `const' where appropriate.
|
|
Slightly decrease the space for numbers in the verbose output format.
Twiddle the widths of the terse fields to make sure there's room
for typical numbers.
(fields, options): Make const.
|
|
display if any thread isn't suspended.
(ps_get_usr_time, ps_get_sys_time, ps_get_tot_time):
Return a struct timeval instead of mach time_value_t.
(ps_cmp_times): New function.
(specs): Rearrange to use new field layout.
(ps_fmt_specs_find): Renamed from find_ps_fmt_spec; now uses a struct
ps_fmt_specs instead of an array of specs.
(specs): Renamed from ps_std_fmt_specs;
(ps_std_fmt_specs): Now of type struct ps_fmt_specs, pointing to specs.
(ps_emit_seconds, ps_emit_minutes): Use timefmt functions.
(append_fraction, sprint_long_time, ps_emit_nice_seconds): Deleted.
Include <timefmt.h>.
|