example/system: remove app_trace_to_host example. Instead use app_trace_basic

This commit is contained in:
Erhan Kurubas
2023-02-06 16:04:11 +01:00
parent 1ee5c8d877
commit db10697b74
11 changed files with 6 additions and 440 deletions

View File

@@ -292,7 +292,7 @@ How To Use It
In order to use logging via trace module, users need to perform the following steps:
1. On the target side, the special vprintf-like function ``esp_apptrace_vprintf`` needs to be installed. It sends log data to the host. Example code is provided in :example:`system/app_trace_to_host`.
1. On the target side, the special vprintf-like function ``esp_apptrace_vprintf`` needs to be installed. It sends log data to the host. Example usage ``esp_log_set_vprintf(esp_apptrace_vprintf);``. To send log data to uart again ``esp_log_set_vprintf(vprintf);``
2. Follow instructions in items 2-5 in `Application Specific Tracing`_.
3. To print out collected log records, run the following command in terminal: ``$IDF_PATH/tools/esp_app_trace/logtrace_proc.py /path/to/trace/file /path/to/program/elf/file``.