aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2020-06-16 01:09:28 +0100
committerMark Brown <broonie@kernel.org>2020-07-01 22:19:30 +0100
commitafe7e36360f4c981fc03ef07a81cb4ce3d567325 (patch)
tree3362abfc8151fd739cf80ced225fa89094249e78 /tools/perf/scripts/python/export-to-postgresql.py
parentac4648b5d866f98feef4525ae8734972359e4edd (diff)
spi: bcm2835: Micro-optimise IRQ handler
The IRQ handler only needs the struct spi_controller for the sake of the completion at the end of a transfer. Passing the struct bcm2835_spi directly as the IRQ data allows that level of indirection to be pushed into the completion path for the reverse lookup, and avoided entirely in all other cases. This saves one explicit load in the critical path, plus (for a GCC 8.3 build) two registers worth of stack frame overhead. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Link: https://lore.kernel.org/r/6b401cb521539caffab21f05b4c8cba6c9d27c6e.1592261248.git.robin.murphy@arm.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions