summaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2023-08-22 23:10:02 +0530
committerTom Rini <trini@konsulko.com>2023-08-29 13:37:55 -0400
commit61cad8da8885fa7b9fc685cdf55f30e615155c76 (patch)
tree6bf1f1be1752d3320d6b0c507a25782a948fd9f7 /test/py
parent3107f78485893895ef1b690a7275c45de629062a (diff)
sandbox: trace: Increase trace buffer size
When running the trace test on the sandbox platform, the current size of 16MiB is no longer large enough for capturing the entire trace history, and results in truncation. Use a size of 32MiB for the trace buffer on the sandbox platform while running the trace test. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py')
-rw-r--r--test/py/tests/test_trace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_trace.py b/test/py/tests/test_trace.py
index ac3e95925e9..ad2250920d7 100644
--- a/test/py/tests/test_trace.py
+++ b/test/py/tests/test_trace.py
@@ -61,7 +61,7 @@ def collect_trace(cons):
# Read out the trace data
addr = 0x02000000
- size = 0x01000000
+ size = 0x02000000
out = cons.run_command(f'trace calls {addr:x} {size:x}')
print(out)
fname = os.path.join(TMPDIR, 'trace')