summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAhmed S. Darwish <ahmed.darwish@valeo.com>2015-01-26 07:27:19 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2015-01-28 13:39:37 +0100
commit3b07a444ee48a8081d2ed3f0abeeabd038404ac1 (patch)
treeea72a3af95e8f495b736d3c684d464c708673462 /tools/perf/scripts/python/event_analyzing_sample.py
parentff660f75be36e6db75d45dc742a4a468c5a9c20d (diff)
can: kvaser_usb: Update interface state before exiting on OOM
Update all of the can interface's state and error counters before trying any skb allocation that can actually fail with -ENOMEM. Suggested-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Ahmed S. Darwish <ahmed.darwish@valeo.com> Acked-by: Andri Yngvason <andri.yngvason@marel.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions