linux/drivers/hwtracing/stm
Alexander Shishkin cde4ad8368 stm class: Guard output assignment against concurrency
It is possible to concurrently assign the same output (a character
device writer or an stm_source device) to different stm devices,
which sets off a strategically placed warning in stm_output_assign().

To avoid this, use a spinlock to serialize (un)assignments between
outputs and stm devices.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-20 14:09:14 -08:00
..
console.c
core.c stm class: Guard output assignment against concurrency 2016-02-20 14:09:14 -08:00
dummy_stm.c stm class: dummy_stm: Create multiple devices 2016-02-20 14:09:14 -08:00
heartbeat.c stm class: Add heartbeat stm source device 2016-02-20 14:09:14 -08:00
Kconfig stm class: Add heartbeat stm source device 2016-02-20 14:09:14 -08:00
Makefile stm class: Add heartbeat stm source device 2016-02-20 14:09:14 -08:00
policy.c stm class: Support devices with multiple instances 2016-02-20 14:09:14 -08:00
stm.h stm class: Guard output assignment against concurrency 2016-02-20 14:09:14 -08:00