Lines Matching refs:fprintf

235 		fprintf(lock_output, "%llu", nsec);
243 fprintf(lock_output, "%*.2f %s", len - 3, nsec / table[i].base, table[i].unit);
247 fprintf(lock_output, "%*llu %s", len - 3, nsec, "ns");
254 fprintf(lock_output, "%*llu", key->len, (unsigned long long)ls->member);\
1360 fprintf(lock_output, "\n=== output for debug ===\n\n");
1361 fprintf(lock_output, "bad: %d, total: %d\n", bad, total);
1362 fprintf(lock_output, "bad rate: %.2f %%\n", (double)bad / (double)total * 100);
1363 fprintf(lock_output, "histogram of events caused bad sequence\n");
1365 fprintf(lock_output, " %10s: %d\n", name[i], bad_hist[i]);
1377 fprintf(lock_output, "%20s ", "Name");
1379 fprintf(lock_output, "%*s ", key->len, key->header);
1380 fprintf(lock_output, "\n\n");
1405 fprintf(lock_output, "%20s ", name);
1413 fprintf(lock_output, "%20s ", cut_name);
1418 fprintf(lock_output, " ");
1420 fprintf(lock_output, "\n");
1437 fprintf(lock_output, "%10s: comm\n", "Thread ID");
1443 fprintf(lock_output, "%10d: %s\n", st->tid, thread__comm_str(t));
1469 fprintf(lock_output, "Address of instance: name of class\n");
1477 fprintf(lock_output, " %#llx: %s\n", (unsigned long long)st->addr, st->name);
1665 fprintf(lock_output, "%*s ", key->len, key->header);
1669 fprintf(lock_output, " %10s %s\n\n", "pid",
1673 fprintf(lock_output, " %10s %s\n\n", "type", "caller");
1676 fprintf(lock_output, " %16s %s\n\n", "address", "symbol");
1679 fprintf(lock_output, " %s\n\n", "cgroup");
1690 fprintf(lock_output, "# output: ");
1692 fprintf(lock_output, "%s%s ", key->header, sep);
1696 fprintf(lock_output, "%s%s %s\n", "pid", sep,
1700 fprintf(lock_output, "%s%s %s", "type", sep, "caller");
1702 fprintf(lock_output, "%s %s", sep, "stacktrace");
1703 fprintf(lock_output, "\n");
1706 fprintf(lock_output, "%s%s %s%s %s\n", "address", sep, "symbol", sep, "type");
1709 fprintf(lock_output, "%s\n", "cgroup");
1734 fprintf(lock_output, " ");
1739 fprintf(lock_output, " %10s %s\n", get_type_str(st->flags), st->name);
1744 fprintf(lock_output, " %10d %s\n",
1748 fprintf(lock_output, " %016llx %s (%s)\n", (unsigned long long)st->addr,
1752 fprintf(lock_output, " %s\n", st->name);
1771 fprintf(lock_output, "\t\t\t%#lx %s\n", (unsigned long)ip, buf);
1785 fprintf(lock_output, "%s ", sep);
1790 fprintf(lock_output, "%s%s %s", get_type_str(st->flags), sep, st->name);
1792 fprintf(lock_output, "\n");
1797 fprintf(lock_output, "%d%s %s\n", pid, sep,
1801 fprintf(lock_output, "%llx%s %s%s %s\n", (unsigned long long)st->addr, sep,
1805 fprintf(lock_output, "%s\n",st->name);
1824 fprintf(lock_output, "%s %#lx %s", i ? ":" : sep, (unsigned long) ip, buf);
1826 fprintf(lock_output, "\n");
1850 fprintf(lock_output, "\n=== output for debug ===\n\n");
1851 fprintf(lock_output, "bad: %d, total: %d\n", broken, total);
1852 fprintf(lock_output, "bad rate: %.2f %%\n", 100.0 * broken / total);
1854 fprintf(lock_output, "histogram of failure reasons\n");
1855 fprintf(lock_output, " %10s: %d\n", "task", fails->task);
1856 fprintf(lock_output, " %10s: %d\n", "stack", fails->stack);
1857 fprintf(lock_output, " %10s: %d\n", "time", fails->time);
1858 fprintf(lock_output, " %10s: %d\n", "data", fails->data);
1872 fprintf(lock_output, "# debug: total=%d%s bad=%d", total, sep, bad);
1875 fprintf(lock_output, "%s bad_%s=%d", sep, "task", fails->task);
1876 fprintf(lock_output, "%s bad_%s=%d", sep, "stack", fails->stack);
1877 fprintf(lock_output, "%s bad_%s=%d", sep, "time", fails->time);
1878 fprintf(lock_output, "%s bad_%s=%d", sep, "data", fails->data);
1884 fprintf(lock_output, "%s bad_%s=%d", sep, name[i], bad_hist[i]);
1886 fprintf(lock_output, "\n");