diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-10-31 17:54:43 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-10-31 17:54:43 +0100 |
commit | 7ea3a628613c333ad290797bcb7f4df0a7e11fa2 (patch) | |
tree | b2db9415d95898f684f4e6fa3d9c36937c0db585 /procfs | |
parent | f3ce932ee72deb019ae955e9880d3434f2d8d6b1 (diff) | |
download | hurd-7ea3a628613c333ad290797bcb7f4df0a7e11fa2.tar.gz hurd-7ea3a628613c333ad290797bcb7f4df0a7e11fa2.tar.bz2 hurd-7ea3a628613c333ad290797bcb7f4df0a7e11fa2.zip |
procfs: fix getting last_processor field
* procfs/process.c (entries): Add PSTAT_THREAD_SCHED in `needs' field of
entry for process_file_gc_stat.
Diffstat (limited to 'procfs')
-rw-r--r-- | procfs/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procfs/process.c b/procfs/process.c index 3bcf625b..6e4c1515 100644 --- a/procfs/process.c +++ b/procfs/process.c @@ -497,7 +497,7 @@ static struct procfs_dir_entry entries[] = { .get_contents = process_file_gc_stat, .needs = PSTAT_PID | PSTAT_ARGS | PSTAT_STATE | PSTAT_PROC_INFO | PSTAT_TASK | PSTAT_TASK_BASIC | PSTAT_THREAD_BASIC - | PSTAT_THREAD_WAIT, + | PSTAT_THREAD_SCHED | PSTAT_THREAD_WAIT, }, .ops = { .make_node = process_stat_make_node, |