Capture profiling information from RIP.
More...
#include "probelog.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "swtracegroups.h"
Capture profiling information from RIP.
- See also
- Lightweight tracing API.
◆ save_trace_names()
size_t save_trace_names |
( |
void * |
dest, |
|
|
const char ** |
names, |
|
|
int |
nnames |
|
) |
| |
Save a name mapping table to a memory location, and/or compute the size of the storage for the mapping table.
- Parameters
-
dest | Where to save the name mapping table. If this is NULL, the table will not be saved, but the size required to store the table will be returned. |
names | The names in the name mapping table. |
nnames | The number of names in the name mapping table. |
- Returns
- The size of the table, in bytes, rounded up to 8 bytes.
◆ default_group_details
Default Group details struct.
This is used to construct detailed usage messages. The usage message is constructed using a function so that re-ordering names in the core doesn't cause the skin to be out of order.
Can be overridden when calling the init function.
◆ default_trace_enabled
int default_trace_enabled[SKINKIT_TRACE_N] |
|
static |
Default array for trace enabled/disabled state.
◆ default_trace_name
const char* default_trace_name[SKINKIT_TRACE_N] |
|
static |
Initial value:= {
}
#define NULL
Definition of NULL pointer.
Definition: hqtypes.h:37
Default trace name array
◆ default_tracetype_name
const char* default_tracetype_name[SKINKIT_TRACETYPE_N] |
|
static |
Initial value:Default trace type name array
◆ g_nTraceNames
int g_nTraceNames = SKINKIT_TRACE_N |
Number of trace names in trace name array
◆ g_nTraceTypeNames
int g_nTraceTypeNames = SKINKIT_TRACETYPE_N |
Number of trace type names in trace type list
◆ g_pabTraceEnabled
This pointer will point to either the default enabled/disable state array, or an array that was specified in the init function.
◆ g_ppTraceNames
This pointer will point to either the default trace name array, or an array that was specified in the init function.
◆ g_ppTraceTypeNames
This pointer will point to either the default trace type name array, or an array that was specified in the init function.