blob: 730ad727c89c811fa3cc29731ca99c756756e52e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
2008-08-18 Madhusudan.C.S <madhusudancs@gmail.com>
* procfs_nonpid_files.c:
(procfs_write_nonpid_stat): Changed to
procfs_read_nonpid_stat.
(procfs_write_nonpid_meminfo): Changed to
procfs_read_nonpid_meminfo.
(procfs_write_nonpid_loadavg): Changed to
procfs_read_nonpid_loadavg.
(procfs_write_nonpid_uptime): Changed to
procfs_read_nonpid_uptime.
(procfs_write_nonpid_version):Changed to
procfs_read_nonpid_version.
* procfs_pid_files.c:
(procfs_write_stat_file): Changed to
procfs_read_stat_file.
Changed the comment correspondingly from
Write to Read.
(procfs_write_cmdline_file ): Changed to
procfs_read_cmdline_file.
Changed the comment correspondingly from
Write to Read.
(procfs_write_status_file): Changed to
procfs_read_status_file.
Changed the comment correspondingly from
Write to Read.
(procfs_write_statm_file): Changed to
procfs_read_statm_file.
Changed the comment correspondingly from
Write to Read.
(procfs_write_files_contents): Changed to
procfs_read_files_contents.
Changed the comment correspondingly from
Write to Read.
Changed the call to procfs_write_nonpid_stat
to procfs_read_nonpid_stat.
Changed the call to procfs_write_stat_file
to procfs_read_stat_file.
Changed the call to procfs_write_cmdline_file
to procfs_read_cmdline_file.
Changed the call to procfs_write_status_file
to procfs_read_status_file.
Changed the call to procfs_write_statm_file
to procfs_read_statm_file.
Changed the call to procfs_write_nonpid_meminfo
to procfs_read_nonpid_meminfo.
Changed the call to procfs_write_nonpid_loadavg
to procfs_read_nonpid_loadavg.
Changed the call to procfs_write_nonpid_uptime
to procfs_read_nonpid_uptime.
Changed the call to procfs_write_nonpid_version
to procfs_read_nonpid_version.
netfs.c: (netfs_attempt_read): Changed
the call from procfs_write_files_contents
to procfs_read_files_contents.
2008-08-18 Madhusudan.C.S <madhusudancs@gmail.com>
* README: Initial Documentation.
2008-08-18 Madhusudan.C.S <madhusudancs@gmail.com>
* procfs_nonpid_files.c: (get_uptime):
Changed the parameter type from double to
struct timeval.
Changed the parameter name from uptime_secs
to uptime.
Removed uptime variable.
Changed timersub to use the passed pointer
instead of the local variable.
Removed the calculation of uptime_secs.
(get_total_times): Changed the parameters
type from double to struct timeval.
Changed the parameters name from
total_user_time_secs to total_user_time
and total_system_time_secs to
total_system_time.
New variables total_user_time_tmp,
total_system_time_tmp and tmpval of type
struct timeval.
Call timerclear to clear the tmp variables.
Remove calculation of times in seconds and
do the same on struct timeval variables
throughout using the timeradd macro.
Assign values of temporary local variables
to the pointers passed as parameters.
(procfs_write_nonpid_stat): Replaced
variables that hold time in seconds with
struct timeval type variables and jiffy_t
type variables.
Argument to get_uptime changed from
uptime_secs to uptime.
Arguments to get_total_times changed from
total_user_time_secs to total_user_time and
total_system_time_secs to total_system_time.
Replace arithematic time subtraction with
timersub macro.
Convert all the times in struct timeval type
variables to jiffy_t type.
Changed the type casting for the asprintf
arguments to be compatible with jiffy_t type.
(procfs_write_nonpid_uptime): Replaced
variables that hold time in seconds with
struct timeval type variables.
Argument to get_uptime changed from
uptime_secs to uptime.
Arguments to get_total_times changed from
total_user_time_secs to total_user_time and
total_system_time_secs to total_system_time.
Replace arithematic time subtraction with
timersub macro.
Convert all the times in struct timeval type
variables to seconds.
2008-08-18 Madhusudan.C.S <madhusudancs@gmail.com>
* procfs_nonpid_files.c:
(procfs_write_nonpid_version): New function.
* procfs_pid_files.c:
(procfs_write_files_contents): Add a check
to find if the read is requested for the
version file and corresponding a call to it.
2008-08-14 Madhusudan.C.S <madhusudancs@gmail.com>
* procfs.h: (jiffy_t): New typedef.
* procfs_pid.h: "procfs.h" is included.
(struct procfs_pid_files): Changed all the
occurrences of time_t to jiffy_t.
* procfs_pid_files.c: Removed "procfs.h".
(adjust_jiffy_time): Changed return type
from time_t to jiffy_t.
Changed the type of jiffy_time variable
from time_t to jiffy_t.
(get_live_threads_time): Changed the type
of utime and stime from time_t to jiffy_t.
(get_stat_data): Changed the type of utime
and stime from time_t to jiffy_t.
2008-08-14 Madhusudan.C.S <madhusudancs@gmail.com>
* ChangeLog: New file.
* AUTHORS: New file.
* COPYING: New file.
* README: New file.
* Makefile: New file.
* bootstrap.c: New file.
* netfs.c: New file.
* node.c: New file.
* procfs.c: New file.
* procfs.h: New file.
* procfs_dir.c: New file.
* procfs_nonpid_files.c: New file.
* procfs_pid.h: New file.
* procfs_pid_files.c: New file.
2008-05-13 Madhusudan.C.S <madhusudancs@gmail.com>
* /sources/hurd/procfs: New directory added to the repository.
|