mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
chpstat: Add missing CMG 5 data fields
DPU-related data fields dpu_num_cores, dpu_channel_exec_time_cpc, and dpu_exec_time_cpc are missing from machine-readable output for CMG 5 channel-paths. Fix this by adding them to the corresponding output routines. Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com> Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
3eb09e8842
commit
02554fa6d8
@@ -127,6 +127,7 @@ static void pr_chars(struct cmg_pair_t **a, unsigned int *n,
|
||||
pr_u32(a, n, cmcb, max_channel_work_units);
|
||||
pr_u32(a, n, cmcb, max_write_data_units);
|
||||
pr_u32(a, n, cmcb, max_read_data_units);
|
||||
pr_u32(a, n, cmcb, dpu_num_cores);
|
||||
pr_u32(a, n, cmcb, data_unit_size);
|
||||
}
|
||||
|
||||
@@ -151,6 +152,8 @@ static void pr_ext_cue(struct cmg_pair_t **a, unsigned int *n,
|
||||
struct ext_cue5_t *ext_cue = get_ext_cue(data, util_b);
|
||||
bool v = data->util_b.extended;
|
||||
|
||||
pr_cond_u32(a, n, v, ext_cue, dpu_channel_exec_time_cpc);
|
||||
pr_cond_u32(a, n, v, ext_cue, dpu_exec_time_cpc);
|
||||
pr_cond_u32(a, n, v, ext_cue, total_ficon_ops_cpc);
|
||||
pr_cond_u32(a, n, v, ext_cue, total_deferred_ficon_ops_cpc);
|
||||
pr_cond_u64(a, n, v, ext_cue, sum_ficon_ops_cpc);
|
||||
|
||||
Reference in New Issue
Block a user