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

Function eventlog_print_event

util/cbfstool/eventlog.c:707–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705}
706
707void eventlog_print_event(const struct event_header *event, int count,
708 enum eventlog_timezone tz)
709{
710 /* Ignore the printf separator at the beginning and end of each line */
711 eventlog_printf_ignore_separator_once = 1;
712
713 eventlog_printf("%d", count);
714 eventlog_print_timestamp(event, tz);
715 eventlog_print_type(event);
716 eventlog_print_data(event);
717
718 /* End of line, after printing each event */
719 eventlog_printf_ignore_separator_once = 1;
720 eventlog_printf("\n");
721}
722
723/*
724 * Initializes the eventlog header with the given type and data,

Callers 1

cmd_listFunction · 0.85

Calls 4

eventlog_printfFunction · 0.85
eventlog_print_timestampFunction · 0.85
eventlog_print_typeFunction · 0.85
eventlog_print_dataFunction · 0.85

Tested by

no test coverage detected