mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-02-07 19:34:18 +08:00
Merge pull request #31 from muaxiaohei/main
Add macro TX_EXECUTION_PROFILE_ENABLE
This commit is contained in:
commit
c71e5161e3
@ -44,9 +44,10 @@
|
||||
#define ORIG_FUNC(__NAME) __ORIG_FUNC(__NAME)
|
||||
|
||||
|
||||
#ifndef TX_ENABLE_EXECUTION_CHANGE_NOTIFY
|
||||
#error In order to use perf_counter:ThreadX-Patch, please define\
|
||||
TX_ENABLE_EXECUTION_CHANGE_NOTIFY in the project configuration.\
|
||||
#if defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) && defined(TX_EXECUTION_PROFILE_ENABLE)
|
||||
#error In order to use perf_counter:ThreadX-Patch, please define \
|
||||
TX_ENABLE_EXECUTION_CHANGE_NOTIFY or TX_EXECUTION_PROFILE_ENABLE \
|
||||
in the project configuration, according to the version of thread.\
|
||||
If you don't want to use this patch, please un-select it in RTE\
|
||||
or remove this patch from the compilation.
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user