linux/drivers/hwtracing/stm
Alexander Shishkin 59be422e4c stm class: Support devices with multiple instances
By convention, the name of the stm policy directory in configfs consists of
the device name to which it applies and the actual policy name, separated
by a dot. Now, some devices already have dots in their names that separate
name of the actual device from its instance identifier. Such devices will
result in two (or more, who can tell) dots in the policy directory name.

Existing policy code, however, will treat the first dot as the one that
separates device name from policy name, therefore failing the above case.

This patch makes the last dot in the directory name be the separator, thus
prohibiting dots from being used in policy names.

Suggested-by: Chunyan Zhang <zhang.chunyan@linaro.org>
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 stm class: stm_console: Add kernel-console-over-stm driver 2015-10-04 20:28:58 +01:00
core.c stm class: Use driver's packet callback return value 2016-02-20 14:09:14 -08:00
dummy_stm.c
Kconfig stm class: Select CONFIG_SRCU 2016-02-07 22:43:17 -08:00
Makefile stm class: stm_console: Add kernel-console-over-stm driver 2015-10-04 20:28:58 +01:00
policy.c stm class: Support devices with multiple instances 2016-02-20 14:09:14 -08:00
stm.h stm class: Fix link list locking 2016-02-07 22:43:17 -08:00