/tools/perf/ |
D | builtin-top.c | 73 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument 75 if (top->print_entries > 9) in perf_top__update_print_entries() 76 top->print_entries -= 9; in perf_top__update_print_entries() 82 struct perf_top *top = arg; in perf_top__sig_winch() local 84 get_term_dimensions(&top->winsize); in perf_top__sig_winch() 85 if (!top->print_entries in perf_top__sig_winch() 86 || (top->print_entries+4) > top->winsize.ws_row) { in perf_top__sig_winch() 87 top->print_entries = top->winsize.ws_row; in perf_top__sig_winch() 89 top->print_entries += 4; in perf_top__sig_winch() 90 top->winsize.ws_row = top->print_entries; in perf_top__sig_winch() [all …]
|
D | .gitignore | 9 perf-top
|
D | command-list.txt | 26 perf-top mainporcelain common
|
D | bash_completion | 48 elif [[ $prev == "-e" && "${COMP_WORDS[1]}" == @(record|stat|top) ]]; then
|
D | Makefile | 413 LIB_H += util/top.h 455 LIB_OBJS += $(OUTPUT)util/top.o 548 BUILTIN_OBJS += $(OUTPUT)builtin-top.o
|
D | design.txt | 14 groups, and it provides event capabilities on top of those. It
|
/tools/perf/util/ |
D | top.c | 24 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) in perf_top__header_snprintf() argument 26 float samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf() 27 float ksamples_per_sec = top->kernel_samples / top->delay_secs; in perf_top__header_snprintf() 28 float esamples_percent = (100.0 * top->exact_samples) / top->samples; in perf_top__header_snprintf() 29 struct perf_record_opts *opts = &top->record_opts; in perf_top__header_snprintf() 41 float us_samples_per_sec = top->us_samples / top->delay_secs; in perf_top__header_snprintf() 42 float guest_kernel_samples_per_sec = top->guest_kernel_samples / top->delay_secs; in perf_top__header_snprintf() 43 float guest_us_samples_per_sec = top->guest_us_samples / top->delay_secs; in perf_top__header_snprintf() 62 if (top->evlist->nr_entries == 1) { in perf_top__header_snprintf() 63 struct perf_evsel *first = perf_evlist__first(top->evlist); in perf_top__header_snprintf() [all …]
|
D | pstack.c | 13 unsigned short top; member 34 return pstack->top == 0; in pstack__empty() 39 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove() 47 --pstack->top; in pstack__remove() 56 if (pstack->top == pstack->max_nr_entries) { in pstack__push() 57 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); in pstack__push() 60 pstack->entries[pstack->top++] = key; in pstack__push() 67 if (pstack->top == 0) { in pstack__pop() 72 ret = pstack->entries[--pstack->top]; in pstack__pop() 73 pstack->entries[pstack->top] = NULL; in pstack__pop()
|
D | top.h | 42 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size); 43 void perf_top__reset_sample_counters(struct perf_top *top);
|
/tools/perf/ui/ |
D | browser.c | 88 pos = browser->top; in ui_browser__list_head_seek() 107 browser->top = pos; in ui_browser__list_head_seek() 120 nd = browser->top; in ui_browser__rb_tree_seek() 137 browser->top = nd; in ui_browser__rb_tree_seek() 145 if (browser->top == NULL) in ui_browser__rb_tree_refresh() 146 browser->top = rb_first(browser->entries); in ui_browser__rb_tree_refresh() 148 nd = browser->top; in ui_browser__rb_tree_refresh() 350 browser->top = NULL; in ui_browser__update_nr_entries() 458 if (browser->top == NULL || browser->top == browser->entries) in ui_browser__list_head_refresh() 459 browser->top = ui_browser__list_head_filter_entries(browser, head->next); in ui_browser__list_head_refresh() [all …]
|
D | browser.h | 18 void *top, *entries; member
|
/tools/perf/Documentation/ |
D | perfconfig.example | 4 top = red, lightgray 16 top = on
|
D | perf-kvm.txt | 13 {top|record|report|diff|buildid-list} 15 | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} 21 'perf kvm [options] top <command>' to generates and displays 73 #perf kvm --host --guest --guestmount=~/guestmount top 98 linkperf:perf-top[1], linkperf:perf-record[1], linkperf:perf-report[1],
|
D | perf-script.txt | 15 'perf script' [<options>] <top-script> [script-args] 59 'perf script <top-script>' to both record the events required for 60 <top-script> and to run the <top-script> using 'live-mode' 61 i.e. without writing anything to disk. <top-script> is the name 63 script name minus any language extension; a <top-script> is defined 64 as any script name ending with the string 'top'. 68 <top-script> 'live-mode' or 'perf script report' variants.
|
D | perf.txt | 22 linkperf:perf-stat[1], linkperf:perf-top[1],
|
D | perf-top.txt | 1 perf-top(1) 6 perf-top - System profiling tool. 11 'perf top' [-e <EVENT> | --event=EVENT] [<options>]
|
D | perf-buildid-list.txt | 42 linkperf:perf-record[1], linkperf:perf-top[1],
|
D | perf-list.txt | 115 linkperf:perf-stat[1], linkperf:perf-top[1],
|
D | perf-stat.txt | 155 linkperf:perf-top[1], linkperf:perf-list[1]
|
/tools/testing/selftests/ |
D | README.txt | 26 See the top-level tools/testing/selftests/Makefile for the list of all possible 41 * Don't cause the top-level "make run_tests" to fail if your feature is
|
/tools/perf/ui/browsers/ |
D | hists.c | 349 struct hist_entry *h = rb_entry(browser->b.top, in hist_browser__run() 781 if (browser->top == NULL) { in ui_browser__hists_init_top() 785 browser->top = rb_first(&hb->hists->entries); in ui_browser__hists_init_top() 797 for (nd = browser->top; nd; nd = rb_next(nd)) { in hist_browser__refresh() 854 nd = browser->top; in ui_browser__hists_seek() 868 h = rb_entry(browser->top, struct hist_entry, rb_node); in ui_browser__hists_seek() 896 browser->top = nd; in ui_browser__hists_seek() 904 browser->top = nd; in ui_browser__hists_seek() 917 browser->top = nd; in ui_browser__hists_seek() 927 browser->top = nd; in ui_browser__hists_seek() [all …]
|
D | map.c | 63 self->b.top = &sym->rb_node; in map_browser__search()
|
D | annotate.c | 317 browser->b.top = pos; in annotate_browser__set_top() 393 dl = list_entry(browser->b.top, struct disasm_line, node); in annotate_browser__toggle_source()
|
/tools/lguest/ |
D | lguest.txt | 79 vmlinux: the kernel image found in the top of your build directory. You
|
/tools/lib/traceevent/ |
D | event-parse.c | 1593 process_cond(struct event_format *event, struct print_arg *top, char **tok) in process_cond() argument 1632 top->op.right = arg; in process_cond() 1639 top->op.right = NULL; in process_cond() 1646 process_array(struct event_format *event, struct print_arg *top, char **tok) in process_array() argument 1665 top->op.right = arg; in process_array()
|