Age | Commit message (Collapse) | Author |
|
|
|
(&np->lock);') after we have called diskfs_drop_node. So don't do it
in that case.
|
|
|
|
(add_pid): Complain about non-existant processes.
(parse_opt): Don't turn quoted args into options.
(parse_numlist): Correctly handle NULL hook functions.
(main): Update calls to changed proc_stat_list_add_* functions.
(psout): New declaration.
|
|
|
|
(ps_alive_p): New function.
|
|
(proc_stat_list_add_pids, proc_stat_list_add_pid,
proc_stat_list_add_all, proc_stat_list_add_login_coll,
proc_stat_list_add_session, proc_stat_list_add_pgrp):
Update declarations.
|
|
(proc_stat_list_add_pid): Add and support new return parameter PS.
(proc_stat_list_add_fn_pids, proc_stat_list_add_id_fn_pids,
proc_stat_list_add_all, proc_stat_list_add_login_coll,
proc_stat_list_add_session, proc_stat_list_add_pgrp):
Add and support new return parameters PROC_STATS & NUM_PROCS.
|
|
|
|
|
|
Set ICKY_ASYNC in TERMFLAGS if O_ASYNC is set in BITS.
|
|
|
|
|
|
Moved here from boot.c
|
|
[!UX] (init_termstate, restore_termstate): New hurd versions of these funcs.
|
|
(LCLHDRS): Add timefmt.h.
|
|
|
|
Don't parse args in order by default.
Deal correctly when the user turns a non-option arg into an option in
re-ordering mode.
Honor ARGP_NO_ARGS.
Use KEY_END, KEY_ARG, and QUOTE.
(KEY_END): New macro, in place of EOF.
(KEY_ARG, QUOTE): New macros.
|
|
|
|
Use O_RDONLY, not 0 (kind of ironic, this...).
(load_image):
Give the filename with the error message (and a newline).
|
|
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).
|
|
|
|
|
|
|
|
|
|
|