{"repo":"mabuware/MabuTrace","free":true,"listed":false,"github":"https://github.com/mabuware/MabuTrace","clone":"git clone https://github.com/mabuware/MabuTrace.git","description":"A lightweight C and C++compatible tracing library with minimal overhead","language":"C","stars":11,"topics":["profiling","c","cpp","c-plus-plus","tracing","embedded-systems","arduino","esp32","esp8266","mabulous"],"license":"GPL-3.0","category":"analytics","readme_excerpt":"MabuTrace MabuTrace is a lightweight, C and C++ compatible high-performance tracing library for the ESP32, designed for deep performance analysis and debugging of complex, real-time applications. It captures execution data and exports it in a JSON format compatible with standard profiling tools like Perfetto and the legacy chrome://tracing . The library is written to be highly efficient, using a binary circular buffer to minimize runtime overhead. This makes it safe to use in timing-critical code, including Interrupt Service Routines (ISRs). It works seamlessly with both the ESP-IDF and the Arduino framework . Key Features - Low Overhead: Events are stored in a compact binary format in a pre-allocated circular buffer, ensuring minimal impact on application performance. - ISR-Safe: Tracepoints can be safely added within Interrupt Service Routines. - Built-in Web Server: Starts an HTTP server on the ESP32 to serve a web-based UI for capturing, downloading, and directly opening traces in Perfetto. - Simple API: Provides intuitive macros for instrumenting your code ( TRACE SCOPE , TRACE INSTANT , TRACE FLOW IN / OUT , TRACE COUNTER ). - Rich Event Types: - Scoped Events: Measure the duration of a function or code block. - Instant Events: Mark a specific point in time. - Counter Events: Track the value of a variable over time. - Flow Events: Visualize causal relationships between tasks, even across core and interrupt boundaries. - Framework Agnostic: Full support for both ESP-IDF ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mabuware","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mabuware/MabuTrace/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}