summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDario Binacchi <dariobin@libero.it>2021-08-07 16:07:58 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2021-08-19 16:07:05 +0300
commita54cdbba9deee77ca48b5eec0c26fcc72538538c (patch)
tree5311731f7a10922d5c7793f7fb375198ae556fe1 /tools/perf/scripts/python/export-to-sqlite.py
parent5064e40596f478fce241cffbc780d3b156d74066 (diff)
downloadlinux-a54cdbba9deee77ca48b5eec0c26fcc72538538c.tar.xz
can: c_can: exit c_can_do_tx() early if no frames have been sent
The c_can_poll() handles RX/TX events unconditionally. It may therefore happen that c_can_do_tx() is called unnecessarily because the interrupt was triggered by the reception of a frame. In these cases, we avoid to execute unnecessary statements and exit immediately. Link: https://lore.kernel.org/r/20210807130800.5246-3-dariobin@libero.it Signed-off-by: Dario Binacchi <dariobin@libero.it> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions