aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorIan Molton <[email protected]>2017-12-08 13:10:35 +0100
committerKalle Valo <[email protected]>2017-12-14 14:41:04 +0200
commit21a10846d09db3c5e3bdfb0be0fc7aa9fdc7000a (patch)
tree21793c7f07f67f6ac8401d3a8ab8b47126112ab5 /tools/perf/scripts/python/event_analyzing_sample.py
parent5cfe38f1f8d3c6b98e15b8cfde05028a3c79930b (diff)
brcmfmac: Remove repeated calls to brcmf_chip_get_core()
There is no need to repeatdly call brcmf_chip_get_core(), which traverses a list of cores every time its called (including during register access code!). Call it once, and store a pointer to the core structure. The existing code does nto keep track of users of the cores anyway, and even so, this will allow for easier refcounting in future. Signed-off-by: Ian Molton <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions