28 lines
798 B
C
28 lines
798 B
C
|
|
#include "function_bitmap_state_event.h"
|
||
|
|
|
||
|
|
static void log_function_bitmap_state_event(const struct app_event_header *aeh)
|
||
|
|
{
|
||
|
|
const struct function_bitmap_state_event *event =
|
||
|
|
cast_function_bitmap_state_event(aeh);
|
||
|
|
|
||
|
|
APP_EVENT_MANAGER_LOG(aeh, "bitmap_len:%zu", sizeof(event->bitmap));
|
||
|
|
}
|
||
|
|
|
||
|
|
static void profile_function_bitmap_state_event(struct log_event_buf *buf,
|
||
|
|
const struct app_event_header *aeh)
|
||
|
|
{
|
||
|
|
ARG_UNUSED(buf);
|
||
|
|
ARG_UNUSED(aeh);
|
||
|
|
}
|
||
|
|
|
||
|
|
APP_EVENT_INFO_DEFINE(function_bitmap_state_event,
|
||
|
|
ENCODE(),
|
||
|
|
ENCODE(),
|
||
|
|
profile_function_bitmap_state_event);
|
||
|
|
|
||
|
|
APP_EVENT_TYPE_DEFINE(function_bitmap_state_event,
|
||
|
|
log_function_bitmap_state_event,
|
||
|
|
&function_bitmap_state_event_info,
|
||
|
|
APP_EVENT_FLAGS_CREATE(
|
||
|
|
APP_EVENT_TYPE_FLAGS_INIT_LOG_ENABLE));
|