4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-16 14:09:21 +08:00
Christopher Faylor 9ba913a56d * autoload.cc: Add dynamic load statements for 'ZwQueryInformationProcess' and
'ZwQueryVirtualMemory'.
* fhandler.h: Change type of bufalloc and filesize members of fhandler_virtual
from int to size_t.  Change type of position member from __off32_t to
__off64_t.  Add new fileid member to fhandler_virtual class.  Make seekdir take
an __off64_t argument.  Make lseek take an __off64_t argument.  Add
fill_filebuf method to fhandler_virtual.  Add fill_filebuf method to
fhandler_proc.  Add fill_filebuf method to fhandler_registry.  Add fill_filebuf
method to fhandler_process.  Add saved_pid and saved_p members to
fhandler_process.
* fhandler_proc.cc (proc_listing_array): Add 'loadavg', 'meminfo', and 'stat'.
(proc_fhandlers array): Ditto.
(fhandler_proc::open): Use fill_filebuf to flesh out the file contents.
(fhandler_proc::fill_filebuf): New method.
(fhandler_proc::format_proc_meminfo): Ditto.
(fhandler_proc::format_proc_stat): Ditto.
(fhandler_proc::format_proc_uptime): Ditto.
* fhandler_process.cc (process_listing): Add 'stat' and 'statm'.
(fhandler_process::fstat): Find the _pinfo structure for the process named in
the filename.  Return ENOENT if the process is no longer around.  Set the gid
and uid fields of the stat structure.
(fhandler_process::open): Store pid and pointer to _pinfo structure in
saved_pid and saved_p respectively.  Use fill_filebuf to flesh out file
contents.
(fhandler_proc::fill_filebuf): New method.
(format_process_stat): New function.
(format_process_status): Ditto.
(format_process_statm): Ditto.
(get_process_state): Ditto.
(get_mem_values): Ditto.
* fhandler_registry.cc (fhandler_registry::seekdir): Change argument type from
__off32_t to __off64_t.
(fhandler_registry::fill_filebuf): New method.
* fhandler_virtual.cc (fhandler_virtual::seekdir): Change argument type from
__off32_t to __off64_t.
(fhandler_virtual::lseek): Ditto.
(fhandler_virtual::fill_filebuf): New method.
(fhandler_virtual::fhandler_virtual): Initialise fileid to -1.
* wincap.cc: Set flag has_process_io_counters appropriately.
* wincap.h: Add flag has_process_io_counters.
2002-05-12 01:37:48 +00:00
..
2001-09-11 20:01:02 +00:00
2001-12-20 03:03:59 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2002-01-01 16:49:52 +00:00
2001-09-11 20:01:02 +00:00
2001-10-12 01:51:21 +00:00
2001-09-11 20:01:02 +00:00
2002-04-09 23:47:26 +00:00
2001-12-10 03:35:54 +00:00
2001-09-12 17:46:37 +00:00
2002-02-25 17:47:51 +00:00
2002-04-19 14:42:20 +00:00
2002-04-19 14:42:20 +00:00
2000-11-19 04:58:18 +00:00
2001-11-26 20:21:27 +00:00
2001-09-11 20:01:02 +00:00
2001-11-05 06:09:15 +00:00
2001-10-05 04:36:14 +00:00
2001-10-28 23:05:49 +00:00
.
2002-05-04 04:30:57 +00:00
2001-09-22 01:29:07 +00:00
2002-02-11 02:25:42 +00:00
2002-01-30 02:44:21 +00:00
2002-01-13 20:03:03 +00:00
2002-01-13 20:03:03 +00:00
2001-09-11 20:01:02 +00:00
2001-06-01 01:45:53 +00:00
2002-05-02 04:13:48 +00:00
2002-02-25 17:47:51 +00:00
2002-03-21 05:52:21 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2001-11-05 06:09:15 +00:00
2001-09-11 20:01:02 +00:00
2000-08-18 19:51:02 +00:00
2002-02-25 17:47:51 +00:00
2002-03-05 02:23:39 +00:00
2001-09-11 20:01:02 +00:00
2002-01-13 20:03:03 +00:00
2002-01-13 20:03:03 +00:00
2002-04-04 05:28:49 +00:00
2002-04-15 19:23:27 +00:00
2002-03-05 18:03:32 +00:00
2001-11-05 06:09:15 +00:00