Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
etw.cpp File Reference

(002f12bf05a8ed977e2fec582d03039ab0bb11ca)

#include "etw.h"
#include "provider.h"
#include "helpers.h"
#include "qtheaders.h"
#include <qfile.h>
#include <qfileinfo.h>
#include <qtextstream.h>
#include "../../3rdparty/sha1/sha1.cpp"
Include dependency graph for etw.cpp:

Go to the source code of this file.

Functions

static QString providerVar (const QString &providerName)
static void writeEtwMacro (QTextStream &stream, const Tracepoint::Field &field)
static QString createGuid (QByteArrayView name)
static void writePrologue (QTextStream &stream, const QString &fileName, const Provider &provider)
static void writeEpilogue (QTextStream &stream, const QString &fileName)
static void writeWrapper (QTextStream &stream, const Provider &provider, const Tracepoint &tracepoint, const QString &providerName)
static void writeEnumConverter (QTextStream &stream, const TraceEnum &enumeration)
static void writeFlagConverter (QTextStream &stream, const TraceFlags &flag)
static void writeTracepoints (QTextStream &stream, const Provider &provider)
void writeEtw (QFile &file, const Provider &provider)

Function Documentation

◆ createGuid()

QString createGuid ( QByteArrayView name)
static

Definition at line 83 of file etw.cpp.

References QT_FORWARD_DECLARE_CLASS().

Here is the call graph for this function:

◆ providerVar()

QString providerVar ( const QString & providerName)
inlinestatic

Definition at line 19 of file etw.cpp.

◆ writeEnumConverter()

void writeEnumConverter ( QTextStream & stream,
const TraceEnum & enumeration )
static

Definition at line 228 of file etw.cpp.

◆ writeEpilogue()

void writeEpilogue ( QTextStream & stream,
const QString & fileName )
static

Definition at line 178 of file etw.cpp.

◆ writeEtw()

void writeEtw ( QFile & file,
const Provider & provider )

Definition at line 300 of file etw.cpp.

References QT_FORWARD_DECLARE_CLASS().

Here is the call graph for this function:

◆ writeEtwMacro()

void writeEtwMacro ( QTextStream & stream,
const Tracepoint::Field & field )
static

Definition at line 24 of file etw.cpp.

◆ writeFlagConverter()

void writeFlagConverter ( QTextStream & stream,
const TraceFlags & flag )
static

Definition at line 252 of file etw.cpp.

◆ writePrologue()

void writePrologue ( QTextStream & stream,
const QString & fileName,
const Provider & provider )
static

Definition at line 126 of file etw.cpp.

◆ writeTracepoints()

void writeTracepoints ( QTextStream & stream,
const Provider & provider )
static

Definition at line 274 of file etw.cpp.

◆ writeWrapper()

void writeWrapper ( QTextStream & stream,
const Provider & provider,
const Tracepoint & tracepoint,
const QString & providerName )
static

Definition at line 184 of file etw.cpp.