diff options
| author | Biju Das <[email protected]> | 2021-08-18 20:07:56 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-19 12:05:15 +0100 |
| commit | 25154301fc2bcc1d949a42218e4dfb870f0f1794 (patch) | |
| tree | 55416fa5dfb6023b3b4e8bfea0d13b0bedcec2ea /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | cb01c672c2a7aded88915e475463fe1128dc76d7 (diff) | |
ravb: Add stats_len to struct ravb_hw_info
R-Car provides 30 device stats, whereas RZ/G2L provides only 15. In
addition, RZ/G2L has stats "rx_queue_0_csum_offload_errors" instead of
"rx_queue_0_missed_errors".
Replace RAVB_STATS_LEN macro with a structure variable stats_len to
struct ravb_hw_info, to support subsequent SoCs without any code changes
to the ravb_get_sset_count function.
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Lad Prabhakar <[email protected]>
Reviewed-by: Sergei Shtylyov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions