diff options
author | Gal Pressman <[email protected]> | 2024-04-02 16:30:35 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-04-03 19:47:58 -0700 |
commit | 89b34322d29381c916933f4728be7cfd08271442 (patch) | |
tree | febe06f78d497a52ab40e9e7d62bdb543729d6b7 /tools/perf/scripts/python/stackcollapse.py | |
parent | 9ac9299d41f6b67c9b99f1522824572e50a292f8 (diff) |
net/mlx5e: Use ethtool_sprintf/puts() to fill stats strings
Use ethtool_sprintf/puts() helper functions which handle the common
pattern of printing a string into the ethtool strings interface and
incrementing the string pointer by ETH_GSTRING_LEN.
Change the fill_strings callback to accept a **data pointer, and remove
the index and return value.
Signed-off-by: Gal Pressman <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions