Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 26) sorted by relevance

12

/tools/perf/
Dbuiltin-top.c73 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.gitignore9 perf-top
Dcommand-list.txt26 perf-top mainporcelain common
Dbash_completion48 elif [[ $prev == "-e" && "${COMP_WORDS[1]}" == @(record|stat|top) ]]; then
DMakefile413 LIB_H += util/top.h
455 LIB_OBJS += $(OUTPUT)util/top.o
548 BUILTIN_OBJS += $(OUTPUT)builtin-top.o
Ddesign.txt14 groups, and it provides event capabilities on top of those. It
/tools/perf/util/
Dtop.c24 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 …]
Dpstack.c13 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()
Dtop.h42 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/
Dbrowser.c88 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 …]
Dbrowser.h18 void *top, *entries; member
/tools/perf/Documentation/
Dperfconfig.example4 top = red, lightgray
16 top = on
Dperf-kvm.txt13 {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],
Dperf-script.txt15 '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.
Dperf.txt22 linkperf:perf-stat[1], linkperf:perf-top[1],
Dperf-top.txt1 perf-top(1)
6 perf-top - System profiling tool.
11 'perf top' [-e <EVENT> | --event=EVENT] [<options>]
Dperf-buildid-list.txt42 linkperf:perf-record[1], linkperf:perf-top[1],
Dperf-list.txt115 linkperf:perf-stat[1], linkperf:perf-top[1],
Dperf-stat.txt155 linkperf:perf-top[1], linkperf:perf-list[1]
/tools/testing/selftests/
DREADME.txt26 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/
Dhists.c349 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 …]
Dmap.c63 self->b.top = &sym->rb_node; in map_browser__search()
Dannotate.c317 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/
Dlguest.txt79 vmlinux: the kernel image found in the top of your build directory. You
/tools/lib/traceevent/
Devent-parse.c1593 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()

12