path: root/write-stm-device/stm_user_api.h
AgeCommit message (Collapse)Author
2016-08-22write STM directly without policy assignationstm-write-sampleChunyan Zhang
If no policy assigned to STM device before writing, a default policy will be applied, so we have to be sure that a policy named 'default' can be found under /config/stp-policy/<stm_device>/ Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
2016-08-19stm-write: added a sample of writing STM deviceChunyan Zhang
This sample shows how to collect trace via write STM device. This is the first version of this sample. In this patch, before writing STM device we chose to set policy in the program, actually setting a policy before writing STM is not the only one choice, if no policy assigned to the STM device a policy named 'default' will be applied. Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>