TT-System-Firmware APIs 19.15.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
grendel_log_bridge.c File Reference
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <zephyr/logging/log.h>
Include dependency graph for grendel_log_bridge.c:

Macros

#define GRENDEL_LOG_LINE_MAX   256

Functions

 LOG_MODULE_REGISTER (grendel_log_bridge, CONFIG_TT_GR_SMC_LOG_BRIDGE_LOG_LEVEL)
static bool level_eq (const char *lhs, const char *rhs)
static void emit_zephyr_log (const char *level, const char *message)
static void emit_zephyr_log_with_location (const char *level, const char *file, int line, const char *message)
void log_message (const char *level, const char *fmt,...)
void log_with_location (const char *level, const char *file, int line, const char *fmt,...)

Macro Definition Documentation

◆ GRENDEL_LOG_LINE_MAX

#define GRENDEL_LOG_LINE_MAX   256

Function Documentation

◆ emit_zephyr_log()

void emit_zephyr_log ( const char * level,
const char * message )
static

◆ emit_zephyr_log_with_location()

void emit_zephyr_log_with_location ( const char * level,
const char * file,
int line,
const char * message )
static

◆ level_eq()

bool level_eq ( const char * lhs,
const char * rhs )
static

◆ log_message()

void log_message ( const char * level,
const char * fmt,
... )

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( grendel_log_bridge ,
CONFIG_TT_GR_SMC_LOG_BRIDGE_LOG_LEVEL  )

◆ log_with_location()

void log_with_location ( const char * level,
const char * file,
int line,
const char * fmt,
... )