Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qctf.cpp File Reference
#include <qthread.h>
#include <qpluginloader.h>
#include <qfileinfo.h>
#include <qdir.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
 

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.

Function Documentation

◆ _do_tracepoint()

void _do_tracepoint ( const QCtfTracePointEvent point,
const QByteArray arr 
)

Definition at line 100 of file qctf.cpp.

References QCtfLib::doTracepoint(), initialize(), and s_plugin.

+ Here is the call graph for this function:

◆ _initialize_tracepoint()

QCtfTracePointPrivate * _initialize_tracepoint ( const QCtfTracePointEvent point)

Definition at line 108 of file qctf.cpp.

References initialize(), QCtfLib::initializeTracepoint(), and s_plugin.

+ Here is the call graph for this function:

◆ _tracepoint_enabled()

bool _tracepoint_enabled ( const QCtfTracePointEvent point)

Definition at line 93 of file qctf.cpp.

References initialize(), s_plugin, and QCtfLib::tracepointEnabled().

+ Here is the call graph for this function:

◆ initialize()

◆ loadPlugin()

static bool loadPlugin ( bool &  retry)
static

Definition at line 35 of file qctf.cpp.

References loader, QStringLiteral, s_plugin, s_shutdown, and QCtfLib::shutdown().

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 15 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 17 of file qctf.cpp.

Referenced by initialize().

◆ s_shutdown

bool s_shutdown = false
static

Definition at line 18 of file qctf.cpp.

Referenced by initialize(), and loadPlugin().

◆ s_triedLoading

bool s_triedLoading = false
static

Definition at line 16 of file qctf.cpp.

Referenced by initialize().