mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
test(sysview_tracing): validate TRACE_STOP per core
This commit is contained in:
@@ -129,7 +129,9 @@ def _test_function_tracing_jtag(openocd_dut: 'OpenOCD', idf_path: str, dut: IdfD
|
||||
dut.expect(re.compile(rb'function-tracing: workload iteration \d+'), timeout=30)
|
||||
|
||||
# Let function-trace samples accumulate while recording.
|
||||
time.sleep(1)
|
||||
# Keep reading telnet so OpenOCD's blocking log writes don't stall its
|
||||
# main loop and leave the 'stop' below unserviced.
|
||||
openocd.consume_output(1)
|
||||
openocd.write('esp sysview_mcore stop')
|
||||
openocd.apptrace_wait_stop()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user