Go to the source code of this file.
◆ foreach_permon_offset_type
#define foreach_permon_offset_type |
◆ PERF_MAX_EVENTS
#define PERF_MAX_EVENTS 7 /* 3 fixed and 4 programmable */ |
◆ PERFMON_REGISTER_BUNDLE
#define PERFMON_REGISTER_BUNDLE |
( |
|
x | ) |
|
Value:
static void __clib_constructor __perfmon_bundle_registration_##x (void) \
{ \
__perfmon_bundle_##x.next = pm->
bundles; \
pm->bundles = &__perfmon_bundle_##x; \
} \
perfmon_bundle_t __perfmon_bundle_##x
Definition at line 181 of file perfmon.h.
◆ PERFMON_REGISTER_SOURCE
#define PERFMON_REGISTER_SOURCE |
( |
|
x | ) |
|
Value:
static void __clib_constructor __perfmon_source_registration_##x (void) \
{ \
__perfmon_source_##x.next = pm->
sources; \
pm->sources = &__perfmon_source_##x; \
} \
perfmon_source_t __perfmon_source_##x
Definition at line 171 of file perfmon.h.
◆ PERFMON_STRINGS
#define PERFMON_STRINGS |
( |
|
... | ) |
(char *[]) { __VA_ARGS__, 0 } |
◆ perfmon_bundle_init_fn_t
◆ perfmon_bundle_t
◆ perfmon_source_init_fn_t
◆ perfmon_source_t
◆ perfmon_bundle_type_t
Enumerator |
---|
PERFMON_BUNDLE_TYPE_UNKNOWN | |
PERFMON_BUNDLE_TYPE_NODE | |
PERFMON_BUNDLE_TYPE_THREAD | |
PERFMON_BUNDLE_TYPE_SYSTEM | |
Definition at line 28 of file perfmon.h.
◆ perfmon_offset_type_t
Enumerator |
---|
PERFMON_OFFSET_TYPE_MMAP | |
PERFMON_OFFSET_TYPE_METRICS | |
PERFMON_OFFSET_TYPE_MAX | |
Definition at line 36 of file perfmon.h.
◆ perfmon_reset()
◆ perfmon_start()
◆ perfmon_stop()
◆ perfmon_dispatch_wrapper_metrics
◆ perfmon_dispatch_wrapper_mmap
◆ perfmon_main