summaryrefslogtreecommitdiff
path: root/libps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-31 01:39:27 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-31 01:39:27 +0200
commit2de160b60e65efe83dba097574abd5454cb870a9 (patch)
tree7046c513f499758f0a254fd673cda4d95d5f6724 /libps
parent9388ffcc3103499df56eb9d7e49e136e8653e603 (diff)
Document incoherency for storage of task_events_info
It doesn't produce any bug ATM just because GNU Mach does not support it. * libps/ps.h (struct proc_stat): Document that task_events_info is currently actually fetched into proc_info.
Diffstat (limited to 'libps')
-rw-r--r--libps/ps.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libps/ps.h b/libps/ps.h
index 23e2cc3e..a013c44e 100644
--- a/libps/ps.h
+++ b/libps/ps.h
@@ -261,6 +261,8 @@ struct proc_stat
/* Virtual memory statistics for the process, as returned by task_info;
see <mach/task_info.h> for a description of task_events_info_t. */
+ /* FIXME: we are actually currently storing it into proc_info, see
+ fetch_procinfo. */
task_events_info_t task_events_info;
task_events_info_data_t task_events_info_buf;
size_t task_events_info_size;