From: Thomas F. <tlf...@li...> - 2014-11-17 19:54:51
|
get_smt_state is used in the system_data structure to display both the shared_processor_mode and the smt_state members. After reviewing code and documentation, it seems that the information in smt_state is meant to be acquired from ppc64_cpu instead of lparcfg. With this change, the SMT listing will be determined by the output of ppc64_cpu --smt. --- src/lparstat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lparstat.h b/src/lparstat.h index 5a5b0f5..dd487c1 100644 --- a/src/lparstat.h +++ b/src/lparstat.h @@ -168,7 +168,7 @@ struct sysentry system_data[] = { /* ppc64_cpu --smt */ {.name = "smt_state", .descr = "SMT", - .get = &get_smt_state}, + .get = &get_smt_mode}, /* /proc/stat */ {.name = "cpu_total", -- 2.1.2 |