11#ifndef _APP_EVENT_MANAGER_PROFILER_TRACER_H_
12#define _APP_EVENT_MANAGER_PROFILER_TRACER_H_
22#include <app_event_manager_profiler_tracer_priv.h>
54#define ENCODE(...) __VA_ARGS__
69#define APP_EVENT_INFO_DEFINE(ename, types, labels, profile_func) \
70 BUILD_ASSERT(profile_func != NULL); \
71 _APP_EVENT_INFO_DEFINE(ename, ENCODE(types), ENCODE(labels), profile_func)
nrf_profiler_arg
Data types for profiling.
Definition nrf_profiler.h:56
Buffer required for data that is sent with the event.
Definition nrf_profiler.h:70
void(* profile_fn)(struct log_event_buf *buf, const struct app_event_header *aeh)
Definition app_event_manager_profiler_tracer.h:34
enum nrf_profiler_arg * nrf_profiler_arg_types
Definition app_event_manager_profiler_tracer.h:43
const char ** nrf_profiler_arg_labels
Definition app_event_manager_profiler_tracer.h:40
const uint8_t nrf_profiler_arg_cnt
Definition app_event_manager_profiler_tracer.h:37
const char * name
Definition app_event_manager_profiler_tracer.h:46
Event description for profiling.
Definition app_event_manager_profiler_tracer.h:32