summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDario Binacchi <dario.binacchi@amarulasolutions.com>2024-10-14 16:53:13 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2024-11-04 20:01:06 +0300
commit4d6d26537940f3b3e17138987ed9e4a334780bf7 (patch)
tree05d86cd05d063c11cb3e56258f1ea060cf0cc15d /tools/perf/scripts/python/export-to-postgresql.py
parente4de81f9e134c78ff7c75a00e43bd819643530d0 (diff)
downloadlinux-4d6d26537940f3b3e17138987ed9e4a334780bf7.tar.xz
can: c_can: fix {rx,tx}_errors statistics
The c_can_handle_bus_err() function was incorrectly incrementing only the receive error counter, even in cases of bit or acknowledgment errors that occur during transmission. The patch fixes the issue by incrementing the appropriate counter based on the type of error. Fixes: 881ff67ad450 ("can: c_can: Added support for Bosch C_CAN controller") Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Link: https://patch.msgid.link/20241014135319.2009782-1-dario.binacchi@amarulasolutions.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions