Files
rocm-systems/projects/rocprofiler-systems/omnitrace.cfg
T
Jonathan R. Madsen 08dc696e47 Fix for empty perfetto output (#7)
Fix to perfetto config

- Erroneously replaced data_sources config "track_event" with "omnitrace"
- Using "omnitrace" resulted in empty perfetto output files

[ROCm/rocprofiler-systems commit: ee67748042]
2022-05-25 00:35:02 -05:00

20 lines
430 B
INI

# perfetto --out OUTPUT_FILE --txt -c omnitrace.cfg
# 5 minute trace, but can be stopped prematurely.
duration_ms: 300000
write_into_file: true
file_write_period_ms: 100
flush_period_ms: 100
# One buffer allocated within the central tracing binary for the entire trace,
# shared by the two data sources below.
buffers {
size_kb: 102400000
fill_policy: RING_BUFFER
}
data_sources {
config {
name: "track_event"
}
}