/tools/perf/util/ |
D | values.c | 218 int width; in perf_read_values__display_pretty() local 220 width = snprintf(NULL, 0, "%d", values->pid[i]); in perf_read_values__display_pretty() 221 if (width > pidwidth) in perf_read_values__display_pretty() 222 pidwidth = width; in perf_read_values__display_pretty() 223 width = snprintf(NULL, 0, "%d", values->tid[i]); in perf_read_values__display_pretty() 224 if (width > tidwidth) in perf_read_values__display_pretty() 225 tidwidth = width; in perf_read_values__display_pretty() 227 width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]); in perf_read_values__display_pretty() 228 if (width > counterwidth[j]) in perf_read_values__display_pretty() 229 counterwidth[j] = width; in perf_read_values__display_pretty() [all …]
|
D | sort.c | 98 size_t size, unsigned int width) in hist_entry__thread_snprintf() argument 102 width = max(7U, width) - 8; in hist_entry__thread_snprintf() 104 width, width, comm ?: ""); in hist_entry__thread_snprintf() 151 size_t size, unsigned int width) in hist_entry__comm_snprintf() argument 153 return repsep_snprintf(bf, size, "%-*.*s", width, width, comm__str(he->comm)); in hist_entry__comm_snprintf() 195 size_t size, unsigned int width) in _hist_entry__dso_snprintf() argument 200 return repsep_snprintf(bf, size, "%-*.*s", width, width, dso_name); in _hist_entry__dso_snprintf() 203 return repsep_snprintf(bf, size, "%-*.*s", width, width, "[unknown]"); in _hist_entry__dso_snprintf() 207 size_t size, unsigned int width) in hist_entry__dso_snprintf() argument 209 return _hist_entry__dso_snprintf(he->ms.map, bf, size, width); in hist_entry__dso_snprintf() [all …]
|
D | svghelper.c | 384 double width; in svg_process() local 403 width = time2pixels(end)-time2pixels(start); in svg_process() 404 if (width > 6) in svg_process() 405 width = 6; in svg_process() 407 width = round_text_size(width); in svg_process() 409 if (width > MIN_TEXT_SIZE) in svg_process() 411 width, name); in svg_process() 418 double width; in svg_cstate() local 436 width = (time2pixels(end)-time2pixels(start))/2.0; in svg_cstate() 437 if (width > 6) in svg_cstate() [all …]
|
D | annotate.c | 1451 int width = symbol_conf.show_total_period ? 12 : 8; in annotation_line__print() local 1457 width *= evsel->core.nr_members; in annotation_line__print() 1460 printf(" %*s:\n", width, " "); in annotation_line__print() 1462 printf(" %*s: %*s %s\n", width, " ", addr_fmt_width, " ", al->line); in annotation_line__print() 2286 int width = symbol_conf.show_total_period ? 12 : 8; in symbol__annotate_printf() local 2302 width *= evsel->core.nr_members; in symbol__annotate_printf() 2309 width, width, symbol_conf.show_total_period ? "Period" : in symbol__annotate_printf() 2813 bool first_line, bool current_entry, bool change_color, int width, in __annotation_line__write() argument 2917 obj__printf(obj, "%-*s", width - pcnt_width - cycles_width, " "); in __annotation_line__write() 2924 obj__printf(obj, "%-*s", width - printed - pcnt_width - cycles_width + 1, al->line); in __annotation_line__write() [all …]
|
/tools/perf/ |
D | builtin-c2c.c | 397 int width; member 420 int width = hists__col_len(hists, se->se_width_idx); in symbol_width() local 423 width = MIN(width, SYMBOL_WIDTH); in symbol_width() 425 return width; in symbol_width() 442 c2c_fmt->dim->width; in c2c_width() 452 int width = c2c_width(fmt, hpp, hists); in c2c_header() local 476 return scnprintf(hpp->buf, hpp->size, "%*s", width, text); in c2c_header() 496 int width = c2c_width(fmt, hpp, he->hists); in dcacheline_entry() local 502 return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); in dcacheline_entry() 510 int width = c2c_width(fmt, hpp, he->hists); in dcacheline_node_entry() local [all …]
|
D | builtin-diff.c | 131 int width; member 138 .width = 14, 142 .width = 14, 146 .width = 7, 150 .width = 7, 154 .width = 14, 158 .width = 14, 162 .width = MAX_COL_WIDTH, 166 .width = 70, 1330 struct perf_hpp *hpp, int width) in cycles_printf() argument [all …]
|
/tools/perf/ui/gtk/ |
D | browser.c | 22 int width; in perf_gtk__resize_window() local 30 width = rect.width * 3 / 4; in perf_gtk__resize_window() 33 gtk_window_resize(GTK_WINDOW(window), width, height); in perf_gtk__resize_window()
|
/tools/testing/selftests/ftrace/test.d/kprobe/ |
D | kprobe_args_type.tc | 29 for width in 64 32 16 8; do 31 gen_event $width > kprobe_events 42 check_types $ARGS $width
|
/tools/perf/ui/browsers/ |
D | map.c | 30 int width; in map_browser__write() local 37 width = browser->width - ((mb->addrlen * 2) + 4); in map_browser__write() 38 if (width > 0) in map_browser__write() 39 ui_browser__write_nstring(browser, sym->name, width); in map_browser__write()
|
D | hists.c | 129 browser->width = 3 + (hists__sort_list_width(hb->hists) + sizeof("[k]")); in hist_browser__refresh_dimensions() 743 int color, width; in hist_browser__show_callchain_entry() local 748 width = browser->b.width - (offset + 2); in hist_browser__show_callchain_entry() 760 ui_browser__write_nstring(&browser->b, str, width); in hist_browser__show_callchain_entry() 1249 int width = browser->b.width; in hist_browser__show_entry() local 1300 width -= 2; in hist_browser__show_entry() 1305 width -= 2; in hist_browser__show_entry() 1320 width -= hpp.buf - s; in hist_browser__show_entry() 1325 width += 1; in hist_browser__show_entry() 1327 ui_browser__write_nstring(&browser->b, "", width); in hist_browser__show_entry() [all …]
|
D | annotate.c | 109 .width = browser->width, in annotate_browser__write() 120 ops.width += 1; in annotate_browser__write() 157 int width; in annotate_browser__draw_current_jump() local 201 width = annotation__cycles_width(notes); in annotate_browser__draw_current_jump() 205 pcnt_width + 2 + notes->widths.addr + width, in annotate_browser__draw_current_jump() 210 pcnt_width + 3 + notes->widths.addr + width, in annotate_browser__draw_current_jump() 622 ui_browser__write_nstring(browser, symbol_dso, browser->width + 1); in annotate_browser__show() 931 browser.b.width = notes->max_line_len; in symbol__tui_annotate() 934 browser.b.width += 18; /* Percentage */ in symbol__tui_annotate()
|
D | header.c | 29 ui_browser__write_nstring(browser, str, browser->width); in ui_browser__argv_write()
|
/tools/perf/tests/ |
D | builtin-test.c | 479 int width = 0; in shell_tests__max_desc_width() local 495 if (width < len) in shell_tests__max_desc_width() 496 width = len; in shell_tests__max_desc_width() 501 return width; in shell_tests__max_desc_width() 524 static int run_shell_tests(int argc, const char *argv[], int i, int width) in run_shell_tests() argument 553 pr_info("%2d: %-*s:", i, width, test.desc); in run_shell_tests() 566 int width = shell_tests__max_desc_width(); in __cmd_test() local 571 if (width < len) in __cmd_test() 572 width = len; in __cmd_test() 582 pr_debug("%2d: %-*s: Disabled\n", i, width, t->desc); in __cmd_test() [all …]
|
/tools/vm/ |
D | slabinfo-gnuplot.sh | 27 width=1500 76 if [ $((width / lines)) -gt $min_slab_name_size ]; then 84 set terminal png enhanced size $width,$height large 126 set terminal png enhanced size $width,$height large 191 width=${array[0]}
|
/tools/testing/selftests/powerpc/alignment/ |
D | alignment_handler.c | 116 void preload_data(void *dst, int offset, int width) in preload_data() argument 123 for (i = 0 ; i < width ; i++) in preload_data() 193 int offset, width, fd, rc, r; in do_test() local 231 width = 16; /* vsx == 16 bytes */ in do_test() 235 preload_data(ci0, offset, width); in do_test() 236 preload_data(mem0, offset, width); // FIXME: remove?? in do_test() 241 test_memcmp(mem0, ci0, width, offset, test_name); in do_test() 243 r |= test_memcpy(ci1, ci0, width, offset, test_func); in do_test() 244 r |= test_memcpy(mem1, mem0, width, offset, test_func); in do_test() 251 r |= test_memcmp(mem1, ci1, width, offset, test_name); in do_test()
|
/tools/perf/ui/stdio/ |
D | hist.c | 599 int width; in print_hierarchy_indent() local 604 width = (indent - 2) * HIERARCHY_INDENT; in print_hierarchy_indent() 606 return fprintf(fp, "%-*.*s", width, width, line); in print_hierarchy_indent() 615 unsigned width = 0; in hists__fprintf_hierarchy_headers() local 672 width = fmt->width(fmt, hpp, hists); in hists__fprintf_hierarchy_headers() 673 fprintf(fp, "%.*s", width, dots); in hists__fprintf_hierarchy_headers() 679 width = depth * HIERARCHY_INDENT; in hists__fprintf_hierarchy_headers() 686 width++; /* for '+' sign between column header */ in hists__fprintf_hierarchy_headers() 689 width += fmt->width(fmt, hpp, hists); in hists__fprintf_hierarchy_headers() 692 if (width > header_width) in hists__fprintf_hierarchy_headers() [all …]
|
/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 1013 u32 pci_register, u64 *value, u32 width) in acpi_os_read_pci_configuration() argument 1037 u32 pci_register, u64 value, u32 width) in acpi_os_write_pci_configuration() argument 1057 acpi_status acpi_os_read_port(acpi_io_address address, u32 *value, u32 width) in acpi_os_read_port() argument 1060 switch (width) { in acpi_os_read_port() 1098 acpi_status acpi_os_write_port(acpi_io_address address, u32 value, u32 width) in acpi_os_write_port() argument 1120 acpi_os_read_memory(acpi_physical_address address, u64 *value, u32 width) in acpi_os_read_memory() argument 1123 switch (width) { in acpi_os_read_memory() 1154 acpi_os_write_memory(acpi_physical_address address, u64 value, u32 width) in acpi_os_write_memory() argument
|
/tools/firewire/ |
D | nosy-dump.c | 316 int width; /* Width of field, 0 means use data_length. */ member 644 get_bits(struct link_packet *packet, int offset, int width) in get_bits() argument 650 shift = 32 - (offset & 31) - width; in get_bits() 651 mask = width == 32 ? ~0 : (1 << width) - 1; in get_bits() 710 bits = get_bits(packet, offset, f->width); in decode_link_packet() 712 } else if (f->width == 0) { in decode_link_packet() 720 if ((offset & ~31) != ((offset + f->width - 1) & ~31)) { in decode_link_packet() 723 low_width = f->width - high_width; in decode_link_packet() 729 bits = get_bits(packet, offset, f->width); in decode_link_packet() 732 printf("%s=0x%0*llx", f->name, (f->width + 3) / 4, bits); in decode_link_packet()
|
D | decode-fcp.c | 51 int width; /* Width of field, 0 means use data_length. */ member
|
/tools/perf/ui/ |
D | browser.c | 58 unsigned int width) in ui_browser__write_nstring() argument 60 slsmg_write_nstring(msg, width); in ui_browser__write_nstring() 196 browser->width = SLtt_Screen_Cols - 1; in ui_browser__refresh_dimensions() 266 ui_browser__write_nstring(browser, title, browser->width + 1); in __ui_browser__show_title() 313 col = browser->width, in ui_browser__scrollbar_set() 335 int width = browser->width; in __ui_browser__refresh() local 343 width += 1; in __ui_browser__refresh() 346 browser->rows - row, width, ' '); in __ui_browser__refresh()
|
D | browser.h | 20 u16 y, x, width, height, rows, columns, horiz_scroll; member 47 unsigned int width);
|
D | hist.c | 402 .width = hpp__width_fn, \ 416 .width = hpp__width_fn, \ 430 .width = hpp__width_fn, \ 663 ret += fmt->width(fmt, &dummy_hpp, hists); in hists__sort_list_width() 688 ret += fmt->width(fmt, &dummy_hpp, hists); in hists__overhead_width()
|
/tools/power/pm-graph/ |
D | bootgraph.py | 559 width = '%.3f' % ((length*100.0)/tTotal) 560 devtl.html += devtl.html_phase.format(left, width, \ 579 width = '%.6f' % (((dev['end']-dev['start'])*100)/tTotal) 583 width, devname, ' '+cls, '') 595 width = '%f' % (l.length*100/tTotal) 598 top, height, width, title, 'x%d'%num) 605 width = '%f' % ((cg.end-cg.start)*100/tTotal) 610 top, height, width, title, dev['id']+cg.id) 645 table.fstat {table-layout:fixed;padding:150px 15px 0 0;font-size:10px;column-width:30px;}\n\ 646 .fstat th {width:55px;}\n\ [all …]
|
/tools/perf/Documentation/ |
D | perf-timechart.txt | 42 --width=:: 43 Select the width of the SVG file (default: 1000)
|
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | SchedGui.py | 112 width = min(self.width_virtual, self.screen_width) 115 end = self.px_to_us(x + width)
|