logger: partial rewording of one log_err() and usage message

Cosmetic change that does not fit in any other commit.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2021-04-19 16:01:45 +00:00 committed by Liam Girdwood
parent b617910feb
commit 37e87e54b1
2 changed files with 5 additions and 3 deletions

View File

@ -633,7 +633,8 @@ static int fetch_entry(const struct log_entry_header *dma_log, uint64_t *last_ti
goto out;
}
if (ret != size)
log_err("Partial read of %u bytes of %lu.\n", ret, size);
log_err("Partial read of %u bytes of %lu, reading more\n",
ret, size);
}
}

View File

@ -34,7 +34,7 @@ static const char *debugfs[] = {
static void usage(void)
{
fprintf(stdout, "Usage %s <option(s)> <file(s)>\n", APP_NAME);
fprintf(stdout, "%s:\t \t\t\tDisplay mailbox contents\n", APP_NAME);
fprintf(stdout, "%s:\t \t\t\tDisplay mailbox or DMA trace contents\n", APP_NAME);
fprintf(stdout, "%s:\t -i infile -o outfile\tDump infile contents "
"to outfile\n", APP_NAME);
fprintf(stdout, "%s:\t -l *.ldc_file\t\t*.ldc files generated by smex\n",
@ -48,7 +48,8 @@ static void usage(void)
APP_NAME);
fprintf(stdout, "%s:\t -s state_name\t\tTake a snapshot of state\n",
APP_NAME);
fprintf(stdout, "%s:\t -t\t\t\tDisplay trace data\n", APP_NAME);
fprintf(stdout, "%s:\t -t\t\t\tDMA 'trace' stream instead of 'etrace' error mailbox\n",
APP_NAME);
fprintf(stdout, "%s:\t -u baud\t\tInput data from a UART\n", APP_NAME);
fprintf(stdout, "%s:\t -r\t\t\tLess formatted output for "
"chained log processors\n",