mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
coresight: Export coresight-stm header to userspace
Export coresight-stm header for userspace STM logging definitions. Change-Id: I75923ea8beea36269995e311c3fbb2667beac3cc Signed-off-by: David Ng <dave@codeaurora.org>
This commit is contained in:
parent
a61a70a60f
commit
6c52f78feb
2 changed files with 3 additions and 0 deletions
|
@ -446,3 +446,4 @@ header-y += idle_stats_device.h
|
|||
header-y += genlock.h
|
||||
header-y += msm_audio_amrwb.h
|
||||
header-y += msm_audio_amrwbplus.h
|
||||
header-y += coresight-stm.h
|
||||
|
|
|
@ -28,6 +28,7 @@ enum {
|
|||
STM_OPTION_GUARANTEED = 0x80,
|
||||
};
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#define stm_log_inv(entity_id, proto_id, data, size) \
|
||||
stm_trace(STM_OPTION_NONE, entity_id, proto_id, data, size)
|
||||
|
||||
|
@ -56,5 +57,6 @@ static inline int stm_trace(uint32_t options, uint8_t entity_id,
|
|||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue