]> xenbits.xensource.com Git - xen.git/commit
tools/xentop: fix sorting bug for some columns
authorCyril Rébert <slack@rabbit.lu>
Sun, 4 Feb 2024 10:19:40 +0000 (11:19 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Feb 2024 17:58:23 +0000 (17:58 +0000)
commit29f17d837421f13c0e0010802de1b2d51d2ded4a
treeb60f34907f0c46c8d1fa8810035b0b0827b85c0a
parent10e0fb655d811031553ad0fa319a7b58fe39f047
tools/xentop: fix sorting bug for some columns

Sort doesn't work on columns VBD_OO, VBD_RD, VBD_WR and VBD_RSECT.
Fix by adjusting variables names in compare functions.
Bug fix only. No functional change.

Fixes: 91c3e3dc91d6 ("tools/xentop: Display '-' when stats are not available.")
Signed-off-by: Cyril Rébert (zithro) <slack@rabbit.lu>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
tools/xentop/xentop.c