aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2015-03-18 11:27:28 +0100
committerMark Brown <[email protected]>2015-03-18 11:34:10 +0000
commit391949b6f02121371e3d7d9082c6d17fd9853034 (patch)
tree09916f4b8983907db6a16ad6a8c731868ad869d4 /tools/perf/scripts/python/export-to-postgresql.py
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
spi: trigger trace event for message-done before mesg->complete
With spidev the mesg->complete callback points to spidev_complete. Calling this unblocks spidev_sync and so spidev_sync_write finishes. As the struct spi_message just read is a local variable in spidev_sync_write and recording the trace event accesses this message the recording is better done first. The same can happen for spidev_sync_read. This fixes an oops observed on a 3.14-rt system with spidev activity after echo 1 > /sys/kernel/debug/tracing/events/spi/enable . Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions