MCPcopy Create free account
hub / github.com/coreboot/coreboot / eventlog_printf

Function eventlog_printf

util/cbfstool/eventlog.c:30–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28static int eventlog_printf_ignore_separator_once = 1;
29
30static void eventlog_printf(const char *format, ...)
31{
32 va_list args;
33
34 // Separator for each field
35 if (eventlog_printf_ignore_separator_once)
36 eventlog_printf_ignore_separator_once = 0;
37 else
38 fprintf(stdout, " | ");
39
40 va_start(args, format);
41 vfprintf(stdout, format, args);
42 va_end(args);
43}
44
45/*
46 * eventlog_print_timestamp - forms the key-value pair for event timestamp

Callers 5

eventlog_print_timestampFunction · 0.85
eventlog_print_typeFunction · 0.85
eventlog_print_dataFunction · 0.85
eventlog_print_eventFunction · 0.85

Calls 1

fprintfFunction · 0.85

Tested by

no test coverage detected