dfmt 482 tools/perf/builtin-diff.c struct diff_hpp_fmt *dfmt = container_of(fmt, struct diff_hpp_fmt, fmt); dfmt 483 tools/perf/builtin-diff.c void *ptr = dfmt - dfmt->idx; dfmt 504 tools/perf/builtin-diff.c get_pair_fmt(struct hist_entry *he, struct diff_hpp_fmt *dfmt) dfmt 506 tools/perf/builtin-diff.c struct data__file *d = fmt_to_data_file(&dfmt->fmt); dfmt 1303 tools/perf/builtin-diff.c struct diff_hpp_fmt *dfmt = dfmt 1309 tools/perf/builtin-diff.c scnprintf(pfmt, 20, "%%%d.2f%%%%", dfmt->header_width - 1); dfmt 1314 tools/perf/builtin-diff.c dfmt->header_width, pfmt); dfmt 1376 tools/perf/builtin-diff.c struct diff_hpp_fmt *dfmt = dfmt 1378 tools/perf/builtin-diff.c struct hist_entry *pair = get_pair_fmt(he, dfmt); dfmt 1402 tools/perf/builtin-diff.c scnprintf(pfmt, 20, "%%%+d.2f%%%%", dfmt->header_width - 1); dfmt 1413 tools/perf/builtin-diff.c scnprintf(pfmt, 20, "%%%d.6f", dfmt->header_width); dfmt 1424 tools/perf/builtin-diff.c scnprintf(pfmt, 20, "%%14ld", dfmt->header_width); dfmt 1429 tools/perf/builtin-diff.c return cycles_printf(he, pair, hpp, dfmt->header_width); dfmt 1435 tools/perf/builtin-diff.c dfmt->header_width, "N/A"); dfmt 1438 tools/perf/builtin-diff.c dfmt->header_width, pfmt); dfmt 1543 tools/perf/builtin-diff.c __hpp__entry_global(struct hist_entry *he, struct diff_hpp_fmt *dfmt, dfmt 1546 tools/perf/builtin-diff.c struct hist_entry *pair = get_pair_fmt(he, dfmt); dfmt 1547 tools/perf/builtin-diff.c int idx = dfmt->idx; dfmt 1563 tools/perf/builtin-diff.c struct diff_hpp_fmt *dfmt = dfmt 1567 tools/perf/builtin-diff.c __hpp__entry_global(he, dfmt, buf, MAX_COL_WIDTH); dfmt 1573 tools/perf/builtin-diff.c dfmt->header_width, buf); dfmt 1581 tools/perf/builtin-diff.c struct diff_hpp_fmt *dfmt = dfmt 1584 tools/perf/builtin-diff.c BUG_ON(!dfmt->header); dfmt 1585 tools/perf/builtin-diff.c return scnprintf(hpp->buf, hpp->size, dfmt->header); dfmt 1592 tools/perf/builtin-diff.c struct diff_hpp_fmt *dfmt = dfmt 1595 tools/perf/builtin-diff.c BUG_ON(dfmt->header_width <= 0); dfmt 1596 tools/perf/builtin-diff.c return dfmt->header_width; dfmt 1599 tools/perf/builtin-diff.c static void init_header(struct data__file *d, struct diff_hpp_fmt *dfmt) dfmt 1607 tools/perf/builtin-diff.c BUG_ON(dfmt->idx >= PERF_HPP_DIFF__MAX_INDEX); dfmt 1608 tools/perf/builtin-diff.c header = columns[dfmt->idx].name; dfmt 1609 tools/perf/builtin-diff.c width = columns[dfmt->idx].width; dfmt 1618 tools/perf/builtin-diff.c dfmt->header_width = width; dfmt 1620 tools/perf/builtin-diff.c if (dfmt->header_width < width) dfmt 1621 tools/perf/builtin-diff.c dfmt->header_width = width; dfmt 1624 tools/perf/builtin-diff.c dfmt->header_width, NAME); dfmt 1626 tools/perf/builtin-diff.c dfmt->header = strdup(buf_indent); dfmt 1633 tools/perf/builtin-diff.c struct diff_hpp_fmt *dfmt = &d->fmt[idx]; dfmt 1634 tools/perf/builtin-diff.c struct perf_hpp_fmt *fmt = &dfmt->fmt; dfmt 1636 tools/perf/builtin-diff.c dfmt->idx = idx; dfmt 1675 tools/perf/builtin-diff.c init_header(d, dfmt);