aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2024-05-28 10:17:52 +0100
committerKalle Valo <[email protected]>2024-06-18 13:22:11 +0300
commit97715e29cebc898a214558475331ea6a10c0f8d1 (patch)
tree67cf07424d89aca60b5f5519aaf326f6cd3ba1b9 /tools/perf/scripts/python/stackcollapse.py
parentb734d8830f70813e17f470daa60f535a6df4d570 (diff)
wifi: wlcore: improve code in wlcore_fw_status()
Referring to status->counters.tx_lnk_free_pkts[i] multiple times leads to less efficient code. Cache this value in a local variable. This also makes the code clearer. Signed-off-by: Russell King (Oracle) <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions