diff options
Diffstat (limited to 'ui/cli/tap-iostat.c')
-rw-r--r-- | ui/cli/tap-iostat.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ui/cli/tap-iostat.c b/ui/cli/tap-iostat.c index e9560d69a5..dd03132727 100644 --- a/ui/cli/tap-iostat.c +++ b/ui/cli/tap-iostat.c @@ -1496,10 +1496,20 @@ iostat_init(const char *opt_arg, void *userdata _U_) } } +static tap_ui iostat_ui = { + REGISTER_STAT_GROUP_GENERIC, + NULL, + "io,stat,", + iostat_init, + -1, + 0, + NULL +}; + void register_tap_listener_iostat(void) { - register_stat_cmd_arg("io,stat,", iostat_init, NULL); + register_tap_ui(&iostat_ui, NULL); } /* |