]> git.baikalelectronics.ru Git - kernel.git/commit
lib: objagg: add root count to stats
authorJiri Pirko <jiri@mellanox.com>
Thu, 7 Feb 2019 11:22:47 +0000 (11:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2019 23:02:49 +0000 (15:02 -0800)
commit9bf03a361e48e15f88128056eb32157274b79e28
tree7887c648d28055f222883582e78669bbe2ff78cd
parentf8ebf29b928fc492c42a1531fa5b6f90affef249
lib: objagg: add root count to stats

Count number of roots and add it to stats. It is handy for the library
user to have this stats available as it can act upon it without
counting roots itself.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/objagg.h
lib/objagg.c