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

(a3142afe212a0130ae29ea44c67393fb4880011f)

#include <qthread.h>
#include <qpluginloader.h>
#include <qfileinfo.h>
#include <qdir.h>
#include <qtenvironmentvariables.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 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 73 of file qctf.cpp.

Function Documentation

◆ _do_tracepoint()

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

Definition at line 128 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 136 of file qctf.cpp.

References initialize().

+ Here is the call graph for this function:

◆ _tracepoint_enabled()

bool _tracepoint_enabled ( const QCtfTracePointEvent & point)

Definition at line 121 of file qctf.cpp.

References initialize().

+ Here is the call graph for this function:

◆ initialize()

static bool initialize ( )
static

Definition at line 95 of file qctf.cpp.

References loadPlugin(), s_initialized, s_prevent_recursion, s_shutdown, and s_triedLoading.

Referenced by _do_tracepoint(), _initialize_tracepoint(), and _tracepoint_enabled().

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

◆ loadPlugin()

static bool loadPlugin ( bool & retry)
static

Definition at line 75 of file qctf.cpp.

Referenced by initialize().

+ Here is the caller graph for this function:

Variable Documentation

◆ s_initialized

static bool s_initialized = false
static

Definition at line 19 of file qctf.cpp.

Referenced by initialize().

◆ s_plugin

static QCtfLib * s_plugin = nullptr
static

Definition at line 23 of file qctf.cpp.

Referenced by _do_tracepoint().

◆ s_prevent_recursion

static bool s_prevent_recursion = false
static

Definition at line 21 of file qctf.cpp.

Referenced by initialize().

◆ s_shutdown

static bool s_shutdown = false
static

Definition at line 22 of file qctf.cpp.

Referenced by initialize().

◆ s_triedLoading

static bool s_triedLoading = false
static

Definition at line 20 of file qctf.cpp.

Referenced by initialize().