/tools/perf/ |
D | builtin-top.c | 95 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument 97 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; in perf_top__update_print_entries() 105 static void perf_top__resize(struct perf_top *top) in perf_top__resize() argument 107 get_term_dimensions(&top->winsize); in perf_top__resize() 108 perf_top__update_print_entries(top); in perf_top__resize() 111 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source() argument 142 if (!symbol__hists(sym, top->evlist->core.nr_entries)) { in perf_top__parse_source() 152 top->sym_filter_entry = he; in perf_top__parse_source() 197 static void perf_top__record_precise_ip(struct perf_top *top, in perf_top__record_precise_ip() argument 208 (top->sym_filter_entry == NULL || in perf_top__record_precise_ip() [all …]
|
D | .gitignore | 14 perf-top
|
D | command-list.txt | 33 perf-top mainporcelain common
|
/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 | 63 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size); 64 void perf_top__reset_sample_counters(struct perf_top *top);
|
/tools/tracing/rtla/src/ |
D | timerlat_top.c | 162 struct osnoise_tool *top; in timerlat_top_handler() local 165 top = container_of(trace, struct osnoise_tool, trace); in timerlat_top_handler() 166 params = top->params; in timerlat_top_handler() 172 timerlat_top_update(top, cpu, thread, latency); in timerlat_top_handler() 181 static void timerlat_top_header(struct osnoise_tool *top) in timerlat_top_header() argument 183 struct timerlat_top_params *params = top->params; in timerlat_top_header() 184 struct trace_seq *s = top->trace.seq; in timerlat_top_header() 187 get_duration(top->start_time, duration, sizeof(duration)); in timerlat_top_header() 219 static void timerlat_top_print(struct osnoise_tool *top, int cpu) in timerlat_top_print() argument 222 struct timerlat_top_params *params = top->params; in timerlat_top_print() [all …]
|
D | osnoise.c | 1010 void osnoise_destroy_tool(struct osnoise_tool *top) in osnoise_destroy_tool() argument 1012 if (!top) in osnoise_destroy_tool() 1015 trace_instance_destroy(&top->trace); in osnoise_destroy_tool() 1017 if (top->context) in osnoise_destroy_tool() 1018 osnoise_put_context(top->context); in osnoise_destroy_tool() 1020 free(top); in osnoise_destroy_tool() 1031 struct osnoise_tool *top; in osnoise_init_tool() local 1034 top = calloc(1, sizeof(*top)); in osnoise_init_tool() 1035 if (!top) in osnoise_init_tool() 1038 top->context = osnoise_context_alloc(); in osnoise_init_tool() [all …]
|
D | osnoise_top.c | 156 static void osnoise_top_header(struct osnoise_tool *top) in osnoise_top_header() argument 158 struct osnoise_top_params *params = top->params; in osnoise_top_header() 159 struct trace_seq *s = top->trace.seq; in osnoise_top_header() 162 get_duration(top->start_time, duration, sizeof(duration)); in osnoise_top_header() 251 osnoise_print_stats(struct osnoise_top_params *params, struct osnoise_tool *top) in osnoise_print_stats() argument 253 struct trace_instance *trace = &top->trace; in osnoise_print_stats() 263 osnoise_top_header(top); in osnoise_print_stats() 268 osnoise_top_print(top, i); in osnoise_print_stats()
|
D | osnoise.h | 104 void osnoise_destroy_tool(struct osnoise_tool *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() 384 browser->top = NULL; in ui_browser__update_nr_entries() 506 if (browser->top == NULL || browser->top == browser->entries) in ui_browser__list_head_refresh() 507 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 167 'report', 'top' and 'annotate' in the TUI. They should specify the 181 colors.top:: 182 'top' means a overhead percentage which is more than 5%. 191 except 'top', 'medium', 'selected'. 195 from sub-commands (top, report, annotate). 205 Colors for headers in the output of a sub-commands (top, report). 215 Subcommands that can be configured here are 'top', 'report' and 'annotate'. 219 top = true [all …]
|
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 82 :GMEXAMPLESUBCMD: top 156 linkperf:perf-top[1], linkperf:perf-record[1], linkperf:perf-report[1],
|
D | perf-top.txt | 1 perf-top(1) 6 perf-top - System profiling tool. 11 'perf top' [-e <EVENT> | --event=EVENT] [<options>] 271 as PERF_RECORD_MMAP which makes 'perf top' unable to resolve samples, leading 317 Start perf top and ask it to only consider the cycles events when a 321 perf top -e cycles,probe:icmp_rcv --switch-on=probe:icmp_rcv 326 perf top -e '{cycles,probe:icmp_rcv}' --switch-on=probe:icmp_rcv 336 Show the --switch-on/off events too. This has no effect in 'perf top' now 339 go straight to the histogram browser, just like 'perf top' with no events
|
D | perf-buildid-list.txt | 46 linkperf:perf-record[1], linkperf:perf-top[1],
|
D | perf-daemon.txt | 59 Base directory path. Each daemon instance is running on top 61 top of one directory at the time. 164 daemon is running on top of the base.
|
/tools/testing/selftests/ftrace/test.d/ftrace/ |
D | func_event_triggers.tc | 77 top=`cat ../../set_ftrace_filter` 78 if [ "$cur" = "$top" ]; then
|
D | func_traceonoff_triggers.tc | 67 top=`cat ../../set_ftrace_filter` 68 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 | 702 struct hist_entry *h = rb_entry(browser->b.top, struct hist_entry, rb_node); in hist_browser__handle_hotkey() 1806 if (browser->top == NULL) { in ui_browser__hists_init_top() 1810 browser->top = rb_first_cached(&hb->hists->entries); in ui_browser__hists_init_top() 1827 for (nd = browser->top; nd; nd = rb_hierarchy_next(nd)) { in hist_browser__refresh() 1926 nd = browser->top; in ui_browser__hists_seek() 1941 h = rb_entry(browser->top, struct hist_entry, rb_node); in ui_browser__hists_seek() 1972 browser->top = nd; in ui_browser__hists_seek() 1981 browser->top = nd; in ui_browser__hists_seek() 1994 browser->top = nd; in ui_browser__hists_seek() 2004 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/arm64/ |
D | README | 9 framework using standard Linux top-level-makefile targets:
|
/tools/testing/selftests/livepatch/ |
D | README | 29 To run the livepatch selftests, from the top of the kernel source tree:
|