Almudena Garcia, le lun. 28 oct. 2019 19:16:28 +0100, a ecrit:
> > As I said, look for the thread_info() calls, to fill the field if the
> > returned count doesn't include it.
>
> process_file_gc_stat(), the function which write the stat structure, doesn't
> calls to thread_info().
Indeed, it gets it from proc_stat_thread_basic_info, which gets
it from the ps parameter, which is created by _proc_stat_create
and filled by proc_stat_set_flags, which calls set_procinfo_flags,
which calls merge_procinfo, which calls fetch_procinfo, which calls
proc_getprocinfo, i.e. proc's S_proc_getprocinfo() RPC.
But we didn't need to see that route anyway: we add information returned
by thread_info(), so it's simply the callers of thread_info() which need
to be fixed. The rest will follow.
Samuel