Skip to content

Profiling

Member TypeMember Name
char*name
void*data
char*(*to_str)(void *data)
void(*log)(void *data)
struct list_headlist_node
  • struct profiling_entry { const char *name; void *data; const char *(*to_str)(void *data); void (*log)(void *data); struct list_head list_node; } __aligned()
  • void profiling_init(void)
  • void profiling_log_all(void)
  • PROFILE_SECTION: __attribute__((section(".kernel_profiling_data"), used))