summaryrefslogtreecommitdiffstats
path: root/src/plugins/tracing/qctfserver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CTF: Add zstd support for streamingAntti Määttä2023-08-291-21/+87
| | | | | | | | | Adds zstd support for CTF streaming. The client can select which compression scheme to use in the trace request. Change-Id: I21423eda2c8223fd5d23eb5adaf216eb61a25501 Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io> Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
* CTF: Add streaming supportAntti Määttä2023-08-031-0/+338
Implement TCP server to stream trace data. Use the QTRACE_LOCATION environment variable to configure the server address and port. The rest of the configuration is done in the client TraceRequest. The user can configure the compression level, buffer size and whether the server is buffering when client doesn't have connection. The server responds with basic response and then begins sending packets until the client disconnects or the app closes. Each packet contains stream name, stream data and whether to overwrite the stream, which is used with metadata streams. Task-number: QTBUG-105976 Change-Id: I41c708a4c7988666d59f0c6093dd41e8ccd88441 Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>