summaryrefslogtreecommitdiff
path: root/libps
AgeCommit message (Collapse)Author
2000-01-25.Roland McGrath
2000-01-252000-01-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* tty.c (struct ps_tty_abbrev): Add const to member types. (ps_tty_abbrevs): Make const. (ps_tty_short_name): Clean up type usage, add consts. Include null terminator in calculation for short_name allocation size. Save lengths and use memcpy instead of using strcpy and strcat.
1999-12-22.Roland McGrath
1999-12-221999-12-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (HURDLIBS): Add shouldbeinlibc.
1999-07-11.Roland McGrath
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* common.h: Add #include <sys/mman.h> for munmap decl.
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* common.h (VMFREE): Use munmap instead of vm_deallocate. * procstat.c (merge_procinfo): Likewise.
1999-06-02.Roland McGrath
1999-06-021999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ps.h (PSTAT_ENV): New macro. (struct proc_stat): New members `env', `env_len', `env_vm_alloced'. (proc_stat_env, proc_stat_env_len): New accessor macros. (PSTAT_USER_BASE): Increase value to leave more room for additions. * procstat.c (proc_stat_set_flags): Handle environment. (_proc_stat_free): Likewise. * spec.c (ps_get_env, ps_env_getter): New function and constant. (specs): New spec "Env" using ps_env_getter and ps_emit_args.
1999-05-29.Roland McGrath
1999-05-291999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* context.c (ps_context_free): Don't call ihash_free on PC->procs twice! Instead, call it on ttys, ttys_by_cttyid, and users.
1999-05-291999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* spec.c (ps_emit_past_time, ps_emit_minutes): Fix return type of getter fn (int to void). * spec.c (ps_get_start_time, ps_start_time_getter): New function and constant to report task_basic_info.creation_time time stamp via "start_time" spec. (specs): Add "Start" fmt for it.
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1997-06-08.Miles Bader
1997-06-08(ps_emit_wait):Miles Bader
Provide slightly better abbreviations for various port types.
1997-05-23fix typoThomas Bushnell
1997-05-23Fri May 23 13:13:18 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* procstat.c (summarize_thread_basic_info): Don't include the kernel's idle threads in the summation. (summarize_thread_sched_info): Likewise. (summarize_thread_states): Likewise. (summarize_thread_waits): Likewise.
1997-03-01.Miles Bader
1997-02-28(ps_fmt_squash):Miles Bader
Deal with FIELD->spec being NULL when advancing over a field.
1996-11-16.Miles Bader
1996-11-16(proc_stat_set_flags):Miles Bader
Allow the user fetch hook to turn on non-user bits, even if they've already failed in the standard code.
1996-10-09.Miles Bader
1996-10-09(ps_nominal_string):Miles Bader
New function. (specs): Use ps_nominal_string for `Args' and `Arg0' fields. (ps_emit_args, ps_emit_string): Use `-' for empty values.
1996-10-08.Miles Bader
1996-10-08(ps_emit_seconds, ps_emit_minutes):Miles Bader
Interpret PS_FMT_FIELD_COLON_MOD flag to mean `print zero as "-"'.
1996-10-08(proc_stat_set_flags):Miles Bader
Get rid of INAPP macro. Fix preconditions of PSTAT_SUSPEND_COUNT.
1996-10-08.Miles Bader
1996-10-08(struct ps):Miles Bader
Add INAPP field. (struct ps_fmt): Add ERROR field, and rename INVAL to INAPP.
1996-10-08(_fmt_create):Miles Bader
Initialize INAPP & ERROR fields. (ps_fmt_clone): Propagate them. (ps_fmt_write_proc_stat): Use them.
1996-10-08(proc_stat_thread_create):Miles Bader
Initialize FAILED and INAPP fields. (PSTAT_PROCINFO): Redefined. (set_procinfo_flags): Set bits in PS->inapp as appropriate. (count_threads): Use PSTAT_PROCINFO_TASK_THREAD_DEP. (PSTAT_PROCINFO_TASK_THREAD_DEP): Renamed from PSTAT_PROCINFO_THREAD. (PSTAT_PROCINFO_THREAD, PSTAT_PROCINFO_TASK): New macro. (proc_stat_set_flags): Add NEED & INAPP macros, and use them to set the inapp field as well as the failed field. (_proc_stat_create): Initialize INAPP field.
1996-10-06(ps_emit_wait): Correct mapping of init ports.Miles Bader
1996-10-01.Miles Bader
1996-10-01(noise_write, noise_len):Miles Bader
Correctly calculate the length of a character printed using an octal escape.
1996-09-17*** empty log message ***Thomas Bushnell
1996-08-02.Miles Bader
1996-08-02(set_procinfo_flags): Pass HAVE to count_threads.Miles Bader
(count_threads): Take new argument HAVE, and use different thread counting method depending on whether we have thread detail info.
1996-07-18.Miles Bader
1996-07-18(ps_tty_abbrevs): Add an entry for /dev/comX -> cX.Miles Bader
1996-07-18*** empty log message ***Michael I. Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell
1996-07-17Initial revisionRoland McGrath
1996-07-11(set_procinfo_flags): Don't use fake "*" wait value if there's no msgport.Miles Bader
1996-07-09(_ps_stream_write_field): If a field is truncatable (MAX_WIDTH >= 0), takeMiles Bader
some of our spacing deficit out of it.
1996-07-02(proc_stat_set_flags):Miles Bader
Pass PS->task_events_info to task_info, not its address.
1996-06-27(proc_stat_list_clone): New function.Miles Bader
1996-06-27(_fmt_create): Set NEW_FMT->src_len. Use strdup.Miles Bader
(ps_fmt_clone): New function.
1996-06-27(struct ps_fmt): Add SRC_LEN field.Miles Bader
(proc_stat_list_clone, ps_fmt_clone): New declarations.
1996-06-27(LCLHDRS): Add common.h.Michael I. Bushnell
1996-06-03(ps_emit_wait): Never truncate what we write.Miles Bader