Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
stackcapture_p.h File Reference

Private: taking a sample of another thread's call stack, and naming its frames (design 0016). More...

#include <sonde/sonde_core_export.h>
#include <QtCore/QJsonArray>
#include <QtCore/QJsonObject>
#include <QtCore/QString>
#include <array>
#include <chrono>

Go to the source code of this file.

Classes

struct  Sonde::Detail::RawStack
 A sample of a thread's stack: return addresses, innermost first. More...
class  Sonde::Detail::StackCapture
 Taking samples of one thread's stack from another thread. More...
class  Sonde::Detail::FrameNamer
 Names frames, and collects the modules they are in, for the samples of one event. More...

Namespaces

namespace  Sonde
 Embeddable Model Context Protocol server for Qt applications.

Functions

QString Sonde::Detail::formatSamples (const QJsonArray &samples, const QJsonArray &modules, int topFrames=20)
 The samples of one stall as text, one frame per line: identical samples folded, the top topFrames frames of each, and the rest summarised (design 0016).

Detailed Description

Private: taking a sample of another thread's call stack, and naming its frames (design 0016).