Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ESP32] Added new Matter Traces in esp32 platform for diagnosis #36873

Draft
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

pimpalemahesh
Copy link
Contributor

Problem:

Additional diagnostics are needed to improve the efficiency of debugging and monitoring on the ESP32 platform.

Change Overview:

Added BLE, WiFi, Heap and FreeRTOS Task snapshot related diagnostics in esp32 platform for diagnosis purpose.

Test:

Successfully retrieved the added diagnostics using the Platform Diagnostics Framework.

- Working backend with metric, trace and counter diagnostics
- Diagnostic interface implementation with ring buffer storage
- Added option ENABLE_ESP_DIAGNOSTICS_TRACE in chip KConfig
- Added required options for enabling matter diagnostic trace in project Kconfig
- Enabled diagnostic trace for temperature-measurement-app example
- Resolve buffer related issues
- Add store diagnostic call for trace_end and trace_instant
- Update scoped macro
- Remove extra namespace values, spaces and print statements
- Remove evicthead call for circular buffer after read successful
- Resolve buffer issues
- Use single buffer for store and retrieve of diagnostics
- Resolve data loss issue
…essary comments, format files, namespace changes
Copy link

semanticdiff-com bot commented Dec 17, 2024

Review changes with  SemanticDiff

Changed Files
File Status
  config/esp32/components/chip/CMakeLists.txt Unsupported file format
  config/esp32/components/chip/Kconfig Unsupported file format
  examples/temperature-measurement-app/esp32/main/Kconfig.projbuild Unsupported file format
  examples/temperature-measurement-app/esp32/main/diagnostic-logs-provider-delegate-impl.cpp Unsupported file format
  examples/temperature-measurement-app/esp32/main/include/diagnostic-logs-provider-delegate-impl.h Unsupported file format
  examples/temperature-measurement-app/esp32/main/main.cpp Unsupported file format
  scripts/tools/check_includes_config.py  0% smaller
  src/platform/ESP32/BUILD.gn Unsupported file format
  src/platform/ESP32/ConnectivityManagerImpl.h Unsupported file format
  src/platform/ESP32/ConnectivityManagerImpl_WiFi.cpp Unsupported file format
  src/platform/ESP32/ESP32Utils.cpp Unsupported file format
  src/platform/ESP32/ESP32Utils.h Unsupported file format
  src/platform/ESP32/nimble/BLEManagerImpl.cpp Unsupported file format
  src/tracing/esp32_diagnostic_trace/BUILD.gn Unsupported file format
  src/tracing/esp32_diagnostic_trace/Counter.cpp Unsupported file format
  src/tracing/esp32_diagnostic_trace/Counter.h Unsupported file format
  src/tracing/esp32_diagnostic_trace/DiagnosticStorageManager.h Unsupported file format
  src/tracing/esp32_diagnostic_trace/DiagnosticTracing.cpp Unsupported file format
  src/tracing/esp32_diagnostic_trace/DiagnosticTracing.h Unsupported file format
  src/tracing/esp32_diagnostic_trace/Diagnostics.h Unsupported file format
  src/tracing/esp32_diagnostic_trace/include/matter/tracing/macros_impl.h Unsupported file format

@CLAassistant
Copy link

CLAassistant commented Dec 17, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants