Add RPC count reporting for the two new RPCs added by r320322.

This is a content change.

PR:		219550
MFC after:	2 weeks
This commit is contained in:
rmacklem 2017-06-24 20:09:23 +00:00
parent b1edbb17d1
commit a3ab95f7a9

View File

@ -924,6 +924,13 @@ exp41_intpr(int clientOnly, int serverOnly)
(uintmax_t)ext_nfsstats.rpccnt[NFSPROC_READDS],
(uintmax_t)ext_nfsstats.rpccnt[NFSPROC_WRITEDS],
(uintmax_t)ext_nfsstats.rpccnt[NFSPROC_COMMITDS]);
if (printtitle)
printf(
"%12.12s %12.12s\n",
"OpenLayout", "CreateLayout");
printf("%12ju %12ju\n",
(uintmax_t)ext_nfsstats.rpccnt[NFSPROC_OPENLAYGET],
(uintmax_t)ext_nfsstats.rpccnt[NFSPROC_CREATELAYGET]);
if (printtitle)
printf(
"%12.12s %12.12s %12.12s %12.12s %12.12s %12.12s\n",