aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorIan Molton <ian@mnementh.co.uk>2017-12-08 07:10:35 -0500
committerKalle Valo <kvalo@codeaurora.org>2017-12-14 07:41:04 -0500
commit21a10846d09db3c5e3bdfb0be0fc7aa9fdc7000a (patch)
tree21793c7f07f67f6ac8401d3a8ab8b47126112ab5 /tools/perf/scripts/python/call-graph-from-sql.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 <ian@mnementh.co.uk> Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions