New API : glibtop_get_proc_affinity.
Implemented for linux. svn path=/trunk/; revision=2609
This commit is contained in:
@@ -47,6 +47,7 @@ GLIBTOP_SUID_PROC_MAP +
|
||||
GLIBTOP_SUID_NETLOAD +
|
||||
GLIBTOP_SUID_NETLIST +
|
||||
GLIBTOP_SUID_PROC_WD +
|
||||
GLIBTOP_SUID_PROC_AFFINITY +
|
||||
GLIBTOP_SUID_PPP;
|
||||
|
||||
const _glibtop_init_func_t _glibtop_init_hook_s [] = {
|
||||
@@ -113,6 +114,9 @@ const _glibtop_init_func_t _glibtop_init_hook_s [] = {
|
||||
#if !GLIBTOP_SUID_PROC_WD
|
||||
_glibtop_init_proc_wd_s,
|
||||
#endif
|
||||
#if !GLIBTOP_SUID_PROC_AFFINITY
|
||||
_glibtop_init_proc_affinity_s,
|
||||
#endif
|
||||
#if !GLIBTOP_SUID_PPP
|
||||
_glibtop_init_ppp_s,
|
||||
#endif
|
||||
@@ -183,6 +187,9 @@ const _glibtop_init_func_t _glibtop_init_hook_p [] = {
|
||||
#if GLIBTOP_SUID_PROC_WD
|
||||
_glibtop_init_proc_wd_p,
|
||||
#endif
|
||||
#if GLIBTOP_SUID_PROC_AFFINITY
|
||||
_glibtop_init_proc_affinity_p,
|
||||
#endif
|
||||
#if GLIBTOP_SUID_PPP
|
||||
_glibtop_init_ppp_p,
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user