Age | Commit message (Collapse) | Author |
|
UNDERLYING_TYPE should be a pointer.
As should the UIDS & GIDS args to diskfs_make_protid.
|
|
(short_circuited_callback1): Dereference ARGZ & ARGZ_LEN.
Include <hurd/paths.h>
|
|
|
|
(diskfs_set_sync_interval): Set DISKFS_SYNC_INTERVAL.
|
|
|
|
|
|
|
|
anymore (but do require PSTAT_{TASK,THREAD}_BASIC).
(proc_stat_state_tags): Update to reflect new flags.
(proc_stat_set_flags): Set new flags.
(PSTAT_PROCINFO, PSTAT_PROCINFO_THREAD): New macros.
(fetch_procinfo, merge_procinfo): New functions.
(SHOULD_SUPPRESS_MSGPORT_FLAGS): Change to use more accurate flags.
(should_suppress_msgport): Use new fields.
(summarize_thread_basic_info, summarize_thread_sched_info,
summarize_thread_states, summarize_thread_rpcs, count_threads): New funcs.
(proc_stat_set_flags): Support the new division of PSTAT_INFO into individual
flags, and support getting thread information by using the thread's origin
proc_stat.
(_proc_stat_free):
Free the thread_basic_info and thread_sched_info fields if necessary.
(proc_stat_thread_create): Don't require that the source process have thread
information around; it will be fetched later if necessary.
|
|
(ps_own_p): Use proc_stat_proc_info, not proc_stat_info.
|
|
(ps_get_rpc): New function.
(ps_std_fmt_specs): Add "RPC" entry.
(ps_emit_nz_int): New function.
(ps_ppid_getter, ps_pgrp_getter, ps_session_getter, ps_login_col_getter):
Use PSTAT_PROC_INFO, not PSTAT_INFO.
(ps_get_ppid, ps_get_pgrp, ps_get_session, ps_get_login_col):
Use proc_stat_proc_info, not proc_stat_info.
(ps_vsize_getter, ps_rsize_getter, ps_rmem_frac_getter,
ps_proc_susp_count_getter): Use PSTAT_TASK_BASIC, not PSTAT_INFO.
(ps_get_vsize, ps_get_rsize, ps_get_rmem_frac, ps_get_proc_susp_count):
Use proc_stat_task_basic_info, not proc_stat_info.
(ps_cur_priority_getter, ps_base_priority_getter, ps_max_priority_getter):
Use PSTAT_THREAD_SCHED, not PSTAT_THREAD_INFO.
(ps_usr_time_getter, ps_sys_time_getter, ps_tot_time_getter,
ps_cpu_frac_getter, ps_sleep_getter):
Use PSTAT_THREAD_BASIC, not PSTAT_THREAD_INFO.
|
|
(proc_stat_num_threads): Use the num_threads field.
(proc_stat_thread_sched_info, proc_stat_thread_basic_info):
Don't take the address, now that the fields used are pointers themselves.
(proc_stat_thread_rpc, proc_stat_task_basic_info): New macros.
(proc_stat_proc_info): Renamed from proc_stat_info.
(PSTAT_PROC_INFO): Renamed from PSTAT_INFO.
(PSTAT_TASK_BASIC, PSTAT_THREAD_BASIC, PSTAT_THREAD_SCHED, PSTAT_THREAD_RPC):
New macros.
(struct proc_stat):
info & info_len --> proc_info & proc_info_len.
Add the num_threads, task_basic_info, and thread_rpc fields.
thread_basic_info & thread_sched_info are now pointers.
|
|
(id_t, struct ids): New type.
(make_ids, ids_add, ids_contains): New functions.
(main): Use a struct ids instead of multiple variables to hold the wanted
uids list, which renamed to ONLY_UIDS. Add the NOT_UIDS list to contain
the opposite sense, and use it.
(main): Use proc_stat_proc_info instead of proc_stat_info and PSTAT_PROC_INFO
instead of PSTAT_INFO.
|
|
(fshelp_start_translator, fshelp_start_translator_long):
Now take a function that opens the underlying node instead of the node
itself.
(fshelp_fetch_root_callback1_t, fshelp_fetch_root_callback2_t):
New types replacing fshelp_callback_t.
(fshelp_fetch_root): Takes two callback args now.
|
|
Change to use a callback function instead of passing the actual node.
|
|
Change to use a callback function instead of passing the actual node.
(service_fsys_startup): Support the open flags coming from the translator.
(struct fsys_startup_request): Add the flags field.
(flagsCheck): New variable.
|
|
Uses two callbacks now.
Pass an appropiate function to fshelp_start_translator_long instead of the
actual underlying node.
|
|
|
|
|
|
New functions, replacing the single original.
(_diskfs_translator_callback1, _diskfs_translator_callback2):
New variables, replacing the single original.
|
|
Change short_circuited_callback1 to reflect the split into two callbacks
(we use the global diskfs callback for the other).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(zombie_list): Likewise.
|
|
(zombie_list): New variable.
|
|
PI_ZOMBIE.
|
|
|
|
Change --force/-f to --goaway/-g.
Add flags for killing translators: --recurse/-r, --force/-f, --nosync/-S.
(doc): New variable.
(main): Support new flags. Have some of the options update flag words
instead of setting variables.
|
|
Only support these if the filesystem's creator-os is `hurd'.
(read_disknode):
Only check the i_translator field if the filesystem's creator-os is `hurd'.
|
|
diskfs doesn't implement itself.
(major, minor): New macros -- temporarily here until libc exports them.
|
|
Add missing else.
Use makedev macro instead of doing it by hand.
(makedev): New macro -- temporarily here until libc exports one.
|
|
console.c, readonly.c, remount.c, opts-common.c.
|
|
|
|
msg_report_wait call; improve organization.
|
|
|
|
|
|
get_string_array.
|
|
|
|
|
|
PI_FETCH_THREAD_SCHED, PI_FETCH_THREAD_WAITS): New flags.
(procinfo): New (buried) member `rpc_block'.
|
|
|