[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add last processor to process stat

From: Samuel Thibault
Subject: Re: [PATCH] Add last processor to process stat
Date: Mon, 28 Oct 2019 19:24:24 +0100
User-agent: NeoMutt/20170609 (1.8.3)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]