Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
tracegen.cpp File Reference

(fb226262e8b371372fdc66b832b9eab24741f70d)

#include "provider.h"
#include "ctf.h"
#include "lttng.h"
#include "etw.h"
#include "panic.h"
#include <qstring.h>
#include <qfile.h>
+ Include dependency graph for tracegen.cpp:

Go to the source code of this file.

Enumerations

enum class  Target { LTTNG , ETW , CTF }
 

Functions

static void usage (int status)
 
static void parseArgs (int argc, char *argv[], Target *target, QString *inFile, QString *outFile)
 
int main (int argc, char *argv[])
 [2]
 

Enumeration Type Documentation

◆ Target

enum class Target
strong
Enumerator
LTTNG 
ETW 
CTF 

Definition at line 13 of file tracegen.cpp.

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

[2]

[3]

[2]

[printing a custom type]

[printing a custom type] [storing a custom value]

[storing a custom value]

[retrieving a custom value]

[retrieving a custom value]

[0]

[0] [1]

[1]

[0]

[0]

[1]

[1] [2]

[2]

[0]

[0]

[2]

[2]

[22]

[22]

[3]

[3]

[4]

[4]

[10]

[10]

[qcinfo_stream]

[qcinfo_stream]

[11]

[11]

[12]

[12]

[13]

[13]

[qcinfo_printf]

[qcinfo_printf]

[14]

[14]

[15]

[15]

[16]

[16]

[17]

[17]

[0]

[0]

[1]

[1]

[2]

[2]

[Window class using revision]

[Window class using revision]

[0]

[0]

[0]

[0]

[1]

[1]

[2]

[2]

[0]

[0]

[write output] [start stream]

[start stream]

[write element]

[write element]

[finish stream]

[finish stream] [write output]

[1]

[1]

[0]

[0]

[0]

[0] //! [1]

[1]

[0]

[0] //! [1]

[1]

[0]

[0] //! [1]

[1] //! [2]

[2]

[0]

[0]

[1]

[1]

[Adding a resource]

[Adding a resource]

[Inserting an image with a cursor]

[Inserting an image with a cursor]

[Inserting an image using HTML]

[Inserting an image using HTML]

[0]

[0] //! [1]

[1]

Definition at line 50 of file tracegen.cpp.

References CTF, ETW, LTTNG, out, panic(), parseArgs(), parseProvider(), qPrintable, QIODeviceBase::Truncate, writeCtf(), writeEtw(), writeLttng(), and QIODeviceBase::WriteOnly.

+ Here is the call graph for this function:

◆ parseArgs()

static void parseArgs ( int argc,
char * argv[],
Target * target,
QString * inFile,
QString * outFile )
static

Definition at line 26 of file tracegen.cpp.

References CTF, ETW, LTTNG, and qstrcmp().

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ usage()

static void usage ( int status)
inlinestatic

Definition at line 20 of file tracegen.cpp.