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

Function print_with_path

util/cbmem/cbmem.c:311–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309};
310
311static void print_with_path(struct ts_range_stack *range_stack, const int stacklvl,
312 const uint64_t stamp, const char *last_part)
313{
314 for (int i = 1; i <= stacklvl; ++i) {
315 printf("%s -> %s", range_stack[i].name, range_stack[i].end_name);
316 if (i < stacklvl || last_part)
317 putchar(';');
318 }
319 if (last_part)
320 printf("%s", last_part);
321 printf(" %llu\n", (long long)arch_convert_raw_ts_entry(stamp));
322}
323
324enum timestamps_print_type {
325 TIMESTAMPS_PRINT_NONE,

Callers 1

dump_timestampsFunction · 0.85

Calls 3

printfFunction · 0.85
putcharFunction · 0.85

Tested by

no test coverage detected