From 4153e72921c2e7aee5dd435117dc8907511b7893 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Sun, 25 Apr 2021 00:00:00 -0500 Subject: [PATCH] top: extend end-of-job report to reflect unused fields In anticipation of adding some smaps_rollup stuff, our end-of-job report will now offer some insight into the current unused entries for a window's fieldscur array. Signed-off-by: Jim Warner --- top/top.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/top/top.c b/top/top.c index d26497fa..604d172b 100644 --- a/top/top.c +++ b/top/top.c @@ -377,6 +377,7 @@ static void bye_bye (const char *str) { "\n\t sortindx = %d, maxtasks = %d" "\n\t varcolsz = %d, winlines = %d" "\n\t strlen(columnhdr) = %d" + "\n\t current fieldscur = %d, maximum fieldscur = %d" "\n" , __func__ , PACKAGE_STRING @@ -404,6 +405,7 @@ static void bye_bye (const char *str) { , Curwin->rc.sortindx, Curwin->rc.maxtasks , Curwin->varcolsz, Curwin->winlines , (int)strlen(Curwin->columnhdr) + , EU_MAXPFLGS, (int)strlen(Curwin->rc.fieldscur) ); } }