aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDario Binacchi <[email protected]>2024-10-14 15:53:13 +0200
committerMarc Kleine-Budde <[email protected]>2024-11-04 18:01:06 +0100
commit4d6d26537940f3b3e17138987ed9e4a334780bf7 (patch)
tree05d86cd05d063c11cb3e56258f1ea060cf0cc15d /tools/perf/scripts/python/bin/stackcollapse-record
parente4de81f9e134c78ff7c75a00e43bd819643530d0 (diff)
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions