[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: |
Sun, 27 Oct 2019 19:18:42 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Almudena Garcia, le dim. 27 oct. 2019 19:09:17 +0100, a ecrit:
> --- hurd/procfs/process.c 2019-10-26 23:12:40.495359917 +0200
> +++ hurd~/procfs/process.c 2019-10-27 19:06:33.648773329 +0100
> @@ -286,7 +286,11 @@
> (long unsigned) proc_stat_thread_rpc (ps), /* close enough */
> 0L, 0L,
> 0,
> + #if THREAD_BASIC_INFO_COUNT > 10
> + (long unsigned) thbi->last_processor,
> + #else
> 0,
> + #endif
> 0, 0,
> 0LL);
> }
That will not test against the running GNU mach, only against the header
being used for compilation. You need to add the test against the value
written by the call to thread_info(), not the #define.
Samuel
- Re: [PATCH] Add last processor to process stat, (continued)
- Re: [PATCH] Add last processor to process stat, Samuel Thibault, 2019/10/27
- Re: [PATCH] Add last processor to process stat, Almudena Garcia, 2019/10/28
- Re: [PATCH] Add last processor to process stat, Samuel Thibault, 2019/10/28
- Re: [PATCH] Add last processor to process stat, Almudena Garcia, 2019/10/28
- Re: [PATCH] Add last processor to process stat, Almudena Garcia, 2019/10/28
- Re: [PATCH] Add last processor to process stat, Samuel Thibault, 2019/10/28
- Re: [PATCH] Add last processor to process stat, Almudena Garcia, 2019/10/28
- Re: [PATCH] Add last processor to process stat, Almudena Garcia, 2019/10/30
- Re: [PATCH] Add last processor to process stat, Samuel Thibault, 2019/10/30
- Re: [PATCH] Add last processor to process stat, Almudena Garcia, 2019/10/30
- Re: [PATCH] Add last processor to process stat,
Samuel Thibault <=