mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
refactor(examples): group trace examples under examples/system/tracing/
Move 6 trace-related examples (app_trace_basic, app_trace_to_plot, esp_trace, gcov, sysview_tracing, sysview_tracing_heap_log) from examples/system/ into a dedicated examples/system/tracing/ subdirectory for better organization. Update all path references across documentation (en + zh_CN), build-test-rules, CI configs and component READMEs. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KZAGzon27T12sGbDPPbZ8G
This commit is contained in:
committed by
BOT
co-authored by
Claude Opus 5
parent
640d832d2f
commit
c99a63fd18
@@ -843,9 +843,6 @@ examples/system/esp_event/user_event_loops/main/main.c
|
||||
examples/system/esp_timer/main/esp_timer_example_main.c
|
||||
examples/system/eventfd/main/eventfd_example.c
|
||||
examples/system/freertos/real_time_stats/main/real_time_stats_example_main.c
|
||||
examples/system/gcov/components/sample/some_funcs.c
|
||||
examples/system/gcov/main/gcov_example_func.c
|
||||
examples/system/gcov/main/gcov_example_main.c
|
||||
examples/system/gdbstub/main/gdbstub_main.c
|
||||
examples/system/himem/main/himem_example_main.c
|
||||
examples/system/ota/advanced_https_ota/main/advanced_https_ota_example.c
|
||||
@@ -856,8 +853,6 @@ examples/system/ota/simple_ota_example/main/simple_ota_example.c
|
||||
examples/system/perfmon/main/perfmon_example_main.c
|
||||
examples/system/select/main/select_example.c
|
||||
examples/system/startup_time/main/hello_world_main.c
|
||||
examples/system/sysview_tracing/main/sysview_tracing.c
|
||||
examples/system/sysview_tracing_heap_log/main/sysview_heap_log.c
|
||||
examples/system/task_watchdog/main/task_watchdog_example_main.c
|
||||
examples/system/unit_test/components/testable/include/testable.h
|
||||
examples/system/unit_test/components/testable/mean.c
|
||||
|
||||
@@ -42,10 +42,10 @@ examples/build_system/cmake/idf_as_lib/run.sh
|
||||
examples/common_components/protocol_examples_tapif_io/make_tap_netif
|
||||
examples/storage/parttool/parttool_example.py
|
||||
examples/storage/parttool/parttool_example.sh
|
||||
examples/system/app_trace_to_plot/read_trace.py
|
||||
examples/system/ota/otatool/get_running_partition.py
|
||||
examples/system/ota/otatool/otatool_example.py
|
||||
examples/system/ota/otatool/otatool_example.sh
|
||||
examples/system/tracing/app_trace_to_plot/read_trace.py
|
||||
install.fish
|
||||
install.sh
|
||||
tools/activate.py
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
Build example `sysview_tracing_heap_log` project.
|
||||
|
||||
```
|
||||
cd $IDF_PATH/examples/system/sysview_tracing_heap_log
|
||||
cd $IDF_PATH/examples/system/tracing/sysview_tracing_heap_log
|
||||
idf.py set target esp32
|
||||
idf.py build
|
||||
cp build/sysview_tracing_heap_log.elf $IDF_PATH/tools/esp_app_trace/test/sysview/
|
||||
@@ -18,12 +18,12 @@
|
||||
Flash the example and run OpenOCD and GDB using the following command in a separate console
|
||||
|
||||
```
|
||||
cd $IDF_PATH/examples/system/sysview_tracing_heap_log
|
||||
cd $IDF_PATH/examples/system/tracing/sysview_tracing_heap_log
|
||||
idf.py openocd
|
||||
```
|
||||
|
||||
```
|
||||
cd $IDF_PATH/examples/system/sysview_tracing_heap_log
|
||||
cd $IDF_PATH/examples/system/tracing/sysview_tracing_heap_log
|
||||
xtensa-esp32-elf-gdb -x $IDF_PATH/tools/esp_app_trace/test/sysview/gdbinit build/sysview_tracing_heap_log.elf
|
||||
```
|
||||
When program stops at `heap_trace_stop` quit GDB and OpenOCD
|
||||
@@ -39,12 +39,12 @@
|
||||
Flash the example and run OpenOCD and GDB using the following command in a separate console
|
||||
|
||||
```
|
||||
cd $IDF_PATH/examples/system/sysview_tracing_heap_log
|
||||
cd $IDF_PATH/examples/system/tracing/sysview_tracing_heap_log
|
||||
idf.py openocd
|
||||
```
|
||||
|
||||
```
|
||||
cd $IDF_PATH/examples/system/sysview_tracing_heap_log
|
||||
cd $IDF_PATH/examples/system/tracing/sysview_tracing_heap_log
|
||||
xtensa-esp32-elf-gdb -x $IDF_PATH/tools/esp_app_trace/test/sysview/gdbinit-mcore build/sysview_tracing_heap_log.elf
|
||||
```
|
||||
When program stops at `heap_trace_stop` quit GDB and OpenOCD
|
||||
|
||||
Reference in New Issue
Block a user