diff options
author | Andrzej Hajda <andrzej.hajda@intel.com> | 2023-06-02 12:21:35 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-05 15:28:42 -0700 |
commit | 227c6c832303cec3941166d3335ecbccd980d615 (patch) | |
tree | f09f4dd496bbc7aa3524f069530792748360c333 /lib/net_utils.c | |
parent | b6d7c0eb2dcbd238fa233a3a1737654e380e784a (diff) | |
download | linux-227c6c832303cec3941166d3335ecbccd980d615.tar.gz linux-227c6c832303cec3941166d3335ecbccd980d615.tar.bz2 linux-227c6c832303cec3941166d3335ecbccd980d615.zip |
lib/ref_tracker: add printing to memory buffer
Similar to stack_(depot|trace)_snprint the patch
adds helper to printing stats to memory buffer.
It will be helpful in case of debugfs.
Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions