/tools/perf/ |
D | builtin-top.c | 91 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument 93 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; in perf_top__update_print_entries() 101 static void perf_top__resize(struct perf_top *top) in perf_top__resize() argument 103 get_term_dimensions(&top->winsize); in perf_top__resize() 104 perf_top__update_print_entries(top); in perf_top__resize() 107 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source() argument 137 if (!symbol__hists(sym, top->evlist->core.nr_entries)) { in perf_top__parse_source() 145 err = symbol__annotate(sym, map, evsel, 0, &top->annotation_opts, NULL); in perf_top__parse_source() 147 top->sym_filter_entry = he; in perf_top__parse_source() 191 static void perf_top__record_precise_ip(struct perf_top *top, in perf_top__record_precise_ip() argument [all …]
|
D | .gitignore | 12 perf-top
|
D | command-list.txt | 31 perf-top mainporcelain common
|
D | Build | 17 perf-y += builtin-top.o
|
D | perf-completion.sh | 164 $prev_skip_opts == @(record|stat|top) ]]; then
|
/tools/perf/util/ |
D | top.c | 23 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) in perf_top__header_snprintf() argument 28 struct record_opts *opts = &top->record_opts; in perf_top__header_snprintf() 32 if (top->samples) { in perf_top__header_snprintf() 33 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf() 34 ksamples_per_sec = top->kernel_samples / top->delay_secs; in perf_top__header_snprintf() 35 esamples_percent = (100.0 * top->exact_samples) / top->samples; in perf_top__header_snprintf() 50 top->lost, top->lost_total, top->drop, top->drop_total); in perf_top__header_snprintf() 52 float us_samples_per_sec = top->us_samples / top->delay_secs; in perf_top__header_snprintf() 53 float guest_kernel_samples_per_sec = top->guest_kernel_samples / top->delay_secs; in perf_top__header_snprintf() 54 float guest_us_samples_per_sec = top->guest_us_samples / top->delay_secs; in perf_top__header_snprintf() [all …]
|
D | pstack.c | 16 unsigned short top; member 37 return pstack->top == 0; in pstack__empty() 42 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove() 50 --pstack->top; in pstack__remove() 59 if (pstack->top == pstack->max_nr_entries) { in pstack__push() 60 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); in pstack__push() 63 pstack->entries[pstack->top++] = key; in pstack__push() 70 if (pstack->top == 0) { in pstack__pop() 75 ret = pstack->entries[--pstack->top]; in pstack__pop() 76 pstack->entries[pstack->top] = NULL; in pstack__pop() [all …]
|
D | top.h | 59 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size); 60 void perf_top__reset_sample_counters(struct perf_top *top);
|
/tools/perf/ui/ |
D | browser.c | 116 pos = browser->top; in ui_browser__list_head_seek() 135 browser->top = pos; in ui_browser__list_head_seek() 148 nd = browser->top; in ui_browser__rb_tree_seek() 165 browser->top = nd; in ui_browser__rb_tree_seek() 173 if (browser->top == NULL) in ui_browser__rb_tree_refresh() 174 browser->top = rb_first(browser->entries); in ui_browser__rb_tree_refresh() 176 nd = browser->top; in ui_browser__rb_tree_refresh() 382 browser->top = NULL; in ui_browser__update_nr_entries() 504 if (browser->top == NULL || browser->top == browser->entries) in ui_browser__list_head_refresh() 505 browser->top = ui_browser__list_head_filter_entries(browser, head->next); in ui_browser__list_head_refresh() [all …]
|
D | browser.h | 19 void *top, *entries; member
|
/tools/perf/Documentation/ |
D | perfconfig.example | 4 top = red, lightgray 16 top = on
|
D | perf-config.txt | 79 top = red, default 91 top = on 169 'report', 'top' and 'annotate' in the TUI. They should specify the 183 colors.top:: 184 'top' means a overhead percentage which is more than 5%. 193 except 'top', 'medium', 'selected'. 197 from sub-commands (top, report, annotate). 207 Colors for headers in the output of a sub-commands (top, report). 217 Subcommands that can be configured here are 'top', 'report' and 'annotate'. 221 top = true [all …]
|
D | perf-top.txt | 1 perf-top(1) 6 perf-top - System profiling tool. 11 'perf top' [-e <EVENT> | --event=EVENT] [<options>] 252 as PERF_RECORD_MMAP which makes 'perf top' unable to resolve samples, leading 282 Start perf top and ask it to only consider the cycles events when a 286 perf top -e cycles,probe:icmp_rcv --switch-on=probe:icmp_rcv 291 perf top --group -e cycles,probe:icmp_rcv --switch-on=probe:icmp_rcv 301 Show the --switch-on/off events too. This has no effect in 'perf top' now 304 go straight to the histogram browser, just like 'perf top' with no events
|
D | perf-kvm.txt | 13 {top|record|report|diff|buildid-list} [<options>] 15 | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} [<options>] 22 'perf kvm [options] top <command>' to generates and displays 87 #perf kvm --host --guest --guestmount=~/guestmount top 162 linkperf:perf-top[1], linkperf:perf-record[1], linkperf:perf-report[1],
|
D | perf-buildid-list.txt | 42 linkperf:perf-record[1], linkperf:perf-top[1],
|
D | perf.txt | 49 linkperf:perf-stat[1], linkperf:perf-top[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 | Build.txt | 14 top level Makefile working as a wrapper that calls the main
|
/tools/testing/selftests/ftrace/test.d/ftrace/ |
D | func_event_triggers.tc | 81 top=`cat ../../set_ftrace_filter` 82 if [ "$cur" = "$top" ]; then
|
D | func_traceonoff_triggers.tc | 70 top=`cat ../../set_ftrace_filter` 71 if [ "$cur" = "$top" ]; then
|
/tools/thermal/tmon/ |
D | tui.c | 38 static PANEL *top; variable 172 top = data_panel; in setup_windows() 438 top = (PANEL *)panel_userptr(top); in handle_input_val() 439 top_panel(top); in handle_input_val() 495 top = (PANEL *)panel_userptr(top); in handle_tui_events() 496 top_panel(top); in handle_tui_events() 497 if (top == dialogue_panel) { in handle_tui_events()
|
/tools/perf/ui/browsers/ |
D | hists.c | 675 struct hist_entry *h = rb_entry(browser->b.top, in hist_browser__run() 1755 if (browser->top == NULL) { in ui_browser__hists_init_top() 1759 browser->top = rb_first_cached(&hb->hists->entries); in ui_browser__hists_init_top() 1776 for (nd = browser->top; nd; nd = rb_hierarchy_next(nd)) { in hist_browser__refresh() 1871 nd = browser->top; in ui_browser__hists_seek() 1886 h = rb_entry(browser->top, struct hist_entry, rb_node); in ui_browser__hists_seek() 1917 browser->top = nd; in ui_browser__hists_seek() 1926 browser->top = nd; in ui_browser__hists_seek() 1939 browser->top = nd; in ui_browser__hists_seek() 1949 browser->top = nd; in ui_browser__hists_seek() [all …]
|
D | map.c | 67 browser->b.top = &sym->rb_node; in map_browser__search()
|
/tools/testing/selftests/livepatch/ |
D | README | 29 To run the livepatch selftests, from the top of the kernel source tree:
|
/tools/power/pm-graph/ |
D | bootgraph.py | 577 top = '%.6f' % ((dev['row']*height) + devtl.scaleH) 582 devname+length+phase+'_mode', left, top, '%.3f'%height, 586 top = '%.6f' % (rowtop + devtl.scaleH + (devtl.rowH / 2)) 598 top, height, width, title, 'x%d'%num) 610 top, height, width, title, dev['id']+cg.id)
|