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
qctf.cpp File Reference

(0f2558470d4a4b7983e31748f3916a057fae1f50)

#include <qthread.h>
#include <qpluginloader.h>
#include <qfileinfo.h>
#include <qdir.h>
#include <qjsonarray.h>
#include "qctf_p.h"
#include "moc_qctf_p.cpp"
+ Include dependency graph for qctf.cpp:

Go to the source code of this file.

Macros

#define BUILD_LIBRARY
 
#define QCtfPluginIID   QStringLiteral("org.qt-project.Qt.QCtfLib")
 

Functions

static bool loadPlugin (bool &retry)
 
static bool initialize ()
 
bool _tracepoint_enabled (const QCtfTracePointEvent &point)
 
void _do_tracepoint (const QCtfTracePointEvent &point, const QByteArray &arr)
 
QCtfTracePointPrivate_initialize_tracepoint (const QCtfTracePointEvent &point)
 

Variables

static QT_BEGIN_NAMESPACE bool s_initialized = false
 
static bool s_triedLoading = false
 
static bool s_prevent_recursion = false
 
static bool s_shutdown = false
 
static QCtfLibs_plugin = nullptr
 

Macro Definition Documentation

◆ BUILD_LIBRARY

#define BUILD_LIBRARY

Definition at line 4 of file qctf.cpp.

◆ QCtfPluginIID

#define QCtfPluginIID   QStringLiteral("org.qt-project.Qt.QCtfLib")

Definition at line 72 of file qctf.cpp.

Referenced by loadPlugin().

Function Documentation

◆ _do_tracepoint()

void _do_tracepoint ( const QCtfTracePointEvent & point,
const QByteArray & arr )

Definition at line 127 of file qctf.cpp.

References initialize(), and s_plugin.

+ Here is the call graph for this function:

◆ _initialize_tracepoint()

QCtfTracePointPrivate * _initialize_tracepoint ( const QCtfTracePointEvent & point)

Definition at line 135 of file qctf.cpp.

References initialize(), and s_plugin.

+ Here is the call graph for this function:

◆ _tracepoint_enabled()

bool _tracepoint_enabled ( const QCtfTracePointEvent & point)

Definition at line 120 of file qctf.cpp.

References initialize(), and s_plugin.

+ Here is the call graph for this function:

◆ initialize()

◆ loadPlugin()

static bool loadPlugin ( bool & retry)
static

Definition at line 74 of file qctf.cpp.

References IID, QCtfPluginIID, QStringLiteral, s_plugin, s_shutdown, and QPluginLoader::staticPlugins().

Referenced by initialize().

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

Variable Documentation

◆ s_initialized

QT_BEGIN_NAMESPACE bool s_initialized = false
static

Definition at line 16 of file qctf.cpp.

Referenced by initialize().

◆ s_plugin

QCtfLib* s_plugin = nullptr
static

◆ s_prevent_recursion

bool s_prevent_recursion = false
static

Definition at line 18 of file qctf.cpp.

Referenced by initialize().

◆ s_shutdown

bool s_shutdown = false
static

Definition at line 19 of file qctf.cpp.

Referenced by initialize(), and loadPlugin().

◆ s_triedLoading

bool s_triedLoading = false
static

Definition at line 17 of file qctf.cpp.

Referenced by initialize().