summaryrefslogtreecommitdiff
path: root/drivers/char/virtio_console.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2018-04-13 16:37:04 +0300
committerMichael S. Tsirkin <mst@redhat.com>2018-04-24 21:44:01 +0300
commitb40000325044433cd350725e2025214ae48b17fd (patch)
tree7349819d26c66e3bacd07873ee3e802dab2cfcb0 /drivers/char/virtio_console.c
parent6d08b06e67cd117f6992c46611dfb4ce267cd71e (diff)
virtio_balloon: add array of stat names
Jason Wang points out that it's very hard for users to build an array of stat names. The naive thing is to use VIRTIO_BALLOON_S_NR but that breaks if we add more stats - as done e.g. recently by commit 6c64fe7f2 ("virtio_balloon: export hugetlb page allocation counts"). Let's add an array of reasonably readable names. Fixes: 6c64fe7f2 ("virtio_balloon: export hugetlb page allocation counts") Cc: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Jonathan Helman <jonathan.helman@oracle.com>
Diffstat (limited to 'drivers/char/virtio_console.c')
0 files changed, 0 insertions, 0 deletions