diff options
| author | Amit Cohen <[email protected]> | 2020-09-03 16:41:45 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-09-03 12:12:05 -0700 |
| commit | 02bed4e8b705284b593948676ebe1c6629dc5895 (patch) | |
| tree | 6e44053d4ef11dc8bdb92c3ecb1b8e9111fd528f /tools/perf/scripts/python/flamegraph.py | |
| parent | ad38d47b2f9b7f8247ae1527a66a5924a585ab5a (diff) | |
mlxsw: core_hwmon: Calculate MLXSW_HWMON_ATTR_COUNT more accurately
Currently the value of MLXSW_HWMON_ATTR_COUNT is calculated not really
accurate.
Add several defines to make the calculation clearer and easier to
change.
Calculate the precise high bound of number of attributes that may be
needed.
Signed-off-by: Amit Cohen <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions