]> granicus.if.org Git - procps-ng/commit
refined library i/f and improved performance
authorCraig Small <csmall@enc.com.au>
Wed, 10 Aug 2011 21:42:14 +0000 (07:42 +1000)
committerCraig Small <csmall@enc.com.au>
Wed, 10 Aug 2011 21:42:14 +0000 (07:42 +1000)
commitbb4f08ba297a67a043f7547670aa8623b54c2e67
tree5d8ecff057ad9bb05ade714fb201921fb4c2fbbc
parent3ef4823f90ce7c92bdd65fb9b8723a29a80d2737
refined library i/f and improved performance

 Library changes
   readproc
    . added readeither to more efficiently
      fill both process and thread proc_t
    . added readproctab3, uses readeither
    . included task path support in:
        fill_cgroup_cvt, fill_cmdline_cvt,
        read_unvectored
    . QUICK_THREADS #define allows copying
      process info vs. repeatedly reading
    . simple_nexttid no longer values ppid
    . path var made non-static in readtask
    . documented 'proc_data_t' in .h file
    . tweaked some c comments & formatting
   library.map
    . added new readeither, readproctab3
 Program changes
   ps
    . exploits readproctab3 where possible
    . improved args/comm compliance
   top
    . exploits readeither
proc/library.map
proc/readproc.c
proc/readproc.h
ps/display.c
ps/output.c
top.c