summaryrefslogtreecommitdiffstats
path: root/src/plugins/tracing/qctfserver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Prefer using namespace Qt::StringLiteralsMarc Mutz2025-10-041-1/+1
| | | | | | | | | | | | | | | | | ... over Qt::Literals::StringLiterals. The latter works, but is needlessly verbose. Since such code is copy'n'pasted, use the preferred form everywhere, to avoid proliferation. The docs have been fixed to suggest the shortcut in a separate commit. As a drive-by, move them to their preferred location, after the QT_BEGIN_NAMESPACE, but only if they were far away to begin with. Pick-to: 6.10 6.8 6.5 Change-Id: I0325f749f3b5a331d9c6af458a9bd3bb70d4aa3b Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Mark QCtfServer as security criticalAntti Määttä2025-03-241-0/+1
| | | | | | | | | QCtfServer uses QTcpServer to accept connections with security sensitive commands. Pick-to: 6.9 6.8 Change-Id: I793e716560fedcf6155f36beeeafdcc0429fe092 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* 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>