esp-idf/components/app_trace
Darian Leung c5efb55d43 freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions
Add TRY_ENTRY_CRITICAL() API to all for timeouts when entering critical sections.
The following port API were added:
- portTRY_ENTER_CRITICAL()
- portTRY_ENTER_CRITICAL_ISR()
- portTRY_ENTER_CRITICAL_SAFE()

Deprecated legacy spinlock API in favor of spinlock.h. The following API were deprecated:
- vPortCPUInitializeMutex()
- vPortCPUAcquireMutex()
- vPortCPUAcquireMutexTimeout()
- vPortCPUReleaseMutex()

Other Changes:
- Added portMUX_INITIALIZE() to replace vPortCPUInitializeMutex()
- The assembly of the critical section functions ends up being about 50 instructions longer,
  thus the spinlock test pass threshold had to be increased to account for the extra runtime.

Closes https://github.com/espressif/esp-idf/issues/5301
2021-11-22 18:42:10 +08:00
..
gcov gcov: add stub table size entry 2021-08-20 15:00:55 +08:00
include freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 2021-11-22 18:42:10 +08:00
port apptrace: Adds ESP32-C3 support 2021-06-24 13:16:14 +03:00
private_include apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
sys_view reconcile traces 2021-09-07 15:57:50 +08:00
test esp32: cleanup build script 2021-07-16 20:14:27 +08:00
app_trace_membufs_proto.c apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
app_trace_util.c freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 2021-11-22 18:42:10 +08:00
app_trace.c apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
CMakeLists.txt gcov: add gcov callback into the ipc task 2021-08-20 15:00:55 +08:00
component.mk apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
heap_trace_tohost.c apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
host_file_io.c Merge branch 'update_copyright_notice_app_trace' into 'master' 2021-05-03 12:00:53 +00:00
Kconfig apptrace: Adds ESP32-C3 support 2021-06-24 13:16:14 +03:00
linker.lf apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00
project_include.cmake app_trace: Add coverage generation by gcovr 2020-03-30 13:34:06 +02:00
sdkconfig.rename apptrace: Refactors apptrace for better support various tracing HW 2021-06-24 13:16:13 +03:00