diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2018-04-13 16:37:04 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-04-24 21:44:01 +0300 |
commit | b40000325044433cd350725e2025214ae48b17fd (patch) | |
tree | 7349819d26c66e3bacd07873ee3e802dab2cfcb0 /include/net/route.h | |
parent | 6d08b06e67cd117f6992c46611dfb4ce267cd71e (diff) | |
download | linux-stable-b40000325044433cd350725e2025214ae48b17fd.tar.gz linux-stable-b40000325044433cd350725e2025214ae48b17fd.tar.bz2 linux-stable-b40000325044433cd350725e2025214ae48b17fd.zip |
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 'include/net/route.h')
0 files changed, 0 insertions, 0 deletions