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

Function usage

util/cbfstool/elogtool.c:60–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58};
59
60static void usage(char *invoked_as)
61{
62 fprintf(stderr, "elogtool: edit elog events\n\n"
63 "USAGE:\n"
64 "\t%s COMMAND [-f <filename>]\n\n"
65 "where, COMMAND is:\n"
66 " list lists all the event logs in human readable format\n"
67 " clear clears all the event logs\n"
68 " add <event_type> [event_data] add an entry to the event log\n"
69 "\n"
70 "ARGS\n"
71 "-f, --file <filename> File that holds event log partition.\n"
72 " If empty it will try to read/write from/to\n"
73 " the " ELOG_RW_REGION_NAME " using flashrom.\n"
74 "-U, --utc Print timestamps in UTC time zone\n"
75 "-h, --help Print this help\n",
76 invoked_as);
77}
78
79/*
80 * If filename is empty, read RW_ELOG from flashrom.

Callers 2

cmd_add_usageFunction · 0.70
mainFunction · 0.70

Calls 1

fprintfFunction · 0.85

Tested by

no test coverage detected