| /tools/perf/ |
| A D | builtin-top.c | 542 top->sym_evsel = evlist__first(top->evlist); in perf_top__handle_keypress() 551 top->sym_evsel = evlist__first(top->evlist); in perf_top__handle_keypress() 587 top->zero = !top->zero; in perf_top__handle_keypress() 1095 if (top->qe.in == &top->qe.data[1]) in rotate_queues() 1096 top->qe.in = &top->qe.data[0]; in rotate_queues() 1098 top->qe.in = &top->qe.data[1]; in rotate_queues() 1119 cond_wait(&top->qe.cond, &top->qe.mutex); in process_thread() 1237 top->qe.in = &top->qe.data[0]; in init_process_thread() 1323 top->session->evlist = top->evlist; in __cmd_top() 1778 top.evlist->session = top.session; in cmd_top() [all …]
|
| A D | .gitignore | 14 perf-top
|
| A D | perf-completion.sh | 166 $prev_skip_opts == @(record|stat|top) ]]; then 207 $prev_skip_opts == @(record|stat|top) ]]; then
|
| A D | command-list.txt | 33 perf-top mainporcelain common
|
| /tools/perf/util/ |
| A D | top.c | 33 if (top->samples) { in perf_top__header_snprintf() 34 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf() 35 ksamples_per_sec = top->kernel_samples / top->delay_secs; in perf_top__header_snprintf() 36 esamples_percent = (100.0 * top->exact_samples) / top->samples; in perf_top__header_snprintf() 51 top->lost, top->lost_total, top->drop, top->drop_total); in perf_top__header_snprintf() 53 float us_samples_per_sec = top->us_samples / top->delay_secs; in perf_top__header_snprintf() 55 float guest_us_samples_per_sec = top->guest_us_samples / top->delay_secs; in perf_top__header_snprintf() 93 top->uid_str); in perf_top__header_snprintf() 116 top->samples = top->us_samples = top->kernel_samples = in perf_top__reset_sample_counters() 117 top->exact_samples = top->guest_kernel_samples = in perf_top__reset_sample_counters() [all …]
|
| A 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() 68 if (pstack->top == 0) in pstack__peek() 70 return pstack->entries[pstack->top - 1]; in pstack__peek()
|
| A D | top.h | 64 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size); 65 void perf_top__reset_sample_counters(struct perf_top *top);
|
| /tools/tracing/rtla/src/ |
| A D | timerlat_top.c | 169 struct osnoise_tool *top; in timerlat_top_handler() local 173 params = top->params; in timerlat_top_handler() 860 struct osnoise_tool *top; in timerlat_init_top() local 866 if (!top) in timerlat_init_top() 870 if (!top->data) in timerlat_init_top() 873 top->params = params; in timerlat_init_top() 878 return top; in timerlat_init_top() 1054 if (!top) { in timerlat_top_main() 1059 trace = &top->trace; in timerlat_top_main() 1178 if (aa != top) { in timerlat_top_main() [all …]
|
| A D | osnoise.c | 1016 if (!top) in osnoise_destroy_tool() 1019 trace_instance_destroy(&top->trace); in osnoise_destroy_tool() 1021 if (top->context) in osnoise_destroy_tool() 1022 osnoise_put_context(top->context); in osnoise_destroy_tool() 1024 free(top); in osnoise_destroy_tool() 1035 struct osnoise_tool *top; in osnoise_init_tool() local 1038 top = calloc(1, sizeof(*top)); in osnoise_init_tool() 1039 if (!top) in osnoise_init_tool() 1043 if (!top->context) in osnoise_init_tool() 1050 return top; in osnoise_init_tool() [all …]
|
| A D | osnoise_top.c | 124 static void osnoise_top_header(struct osnoise_tool *top) in osnoise_top_header() argument 126 struct osnoise_params *params = top->params; in osnoise_top_header() 127 struct trace_seq *s = top->trace.seq; in osnoise_top_header() 130 get_duration(top->start_time, duration, sizeof(duration)); in osnoise_top_header() 226 osnoise_print_stats(struct osnoise_params *params, struct osnoise_tool *top) in osnoise_print_stats() argument 228 struct trace_instance *trace = &top->trace; in osnoise_print_stats() 238 osnoise_top_header(top); in osnoise_print_stats() 243 osnoise_top_print(top, i); in osnoise_print_stats() 248 osnoise_report_missed_events(top); in osnoise_print_stats()
|
| /tools/perf/ui/ |
| A 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() 176 nd = browser->top; in ui_browser__rb_tree_refresh() 392 browser->top = NULL; in ui_browser__update_nr_entries() 516 if (browser->top == NULL || browser->top == browser->entries) in ui_browser__list_head_refresh() 519 pos = browser->top; in ui_browser__list_head_refresh() 627 browser->top = (char **)browser->top + offset; in ui_browser__argv_seek() [all …]
|
| /tools/perf/Documentation/ |
| A D | perfconfig.example | 4 top = red, lightgray 16 top = on
|
| A D | perf-kwork.txt | 11 'perf kwork' {record|report|latency|timehist|top} 26 'perf kwork top' to report the task cpu usage. 35 perf kwork top 36 perf kwork top -b 182 OPTIONS for 'perf kwork top'
|
| A D | perf-config.txt | 79 top = red, default 91 top = on 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). 219 top = true 556 top.*:: 557 top.children:: 563 top.call-graph:: [all …]
|
| A 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],
|
| A D | perf-top.txt | 1 perf-top(1) 6 perf-top - System profiling tool. 11 'perf top' [-e <EVENT> | --event=EVENT] [<options>] 305 as PERF_RECORD_MMAP which makes 'perf top' unable to resolve samples, leading 351 Start perf top and ask it to only consider the cycles events when a 355 perf top -e cycles,probe:icmp_rcv --switch-on=probe:icmp_rcv 360 perf top -e '{cycles,probe:icmp_rcv}' --switch-on=probe:icmp_rcv 370 Show the --switch-on/off events too. This has no effect in 'perf top' now 373 go straight to the histogram browser, just like 'perf top' with no events
|
| A D | perf-buildid-list.txt | 46 linkperf:perf-record[1], linkperf:perf-top[1],
|
| A 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/ |
| A D | func_event_triggers.tc | 77 top=`cat ../../set_ftrace_filter` 78 if [ "$cur" = "$top" ]; then
|
| A D | func_traceonoff_triggers.tc | 67 top=`cat ../../set_ftrace_filter` 68 if [ "$cur" = "$top" ]; then
|
| /tools/thermal/tmon/ |
| A 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/ |
| A D | hists.c | 1968 nd = browser->top; in ui_browser__hists_seek() 2014 browser->top = nd; in ui_browser__hists_seek() 2023 browser->top = nd; in ui_browser__hists_seek() 2036 browser->top = nd; in ui_browser__hists_seek() 2057 browser->top = nd; in ui_browser__hists_seek() 2072 browser->top = nd; in ui_browser__hists_seek() 2343 top->lost, top->lost_total); in hists_browser__scnprintf_title() 2347 top->drop, top->drop_total); in hists_browser__scnprintf_title() 2349 if (top->zero) in hists_browser__scnprintf_title() 3245 top->zero = !top->zero; in evsel__hists_browse() [all …]
|
| A D | annotate-data.c | 278 entry = list_entry(uib->top, typeof(*entry), node); in browser__seek() 301 uib->top = &entry->node; in browser__seek() 310 if (uib->top == NULL || uib->top == uib->entries) in browser__refresh() 313 entry = list_entry(uib->top, typeof(*entry), node); in browser__refresh()
|
| /tools/testing/selftests/arm64/ |
| A D | README | 9 framework using standard Linux top-level-makefile targets:
|
| /tools/testing/selftests/devices/probe/boards/ |
| A D | google,spherion.yaml | 7 # The top-level is a list of controllers, either for USB or PCI(e). 27 # The 'path' key is needed for every child device (that is, not top-level) to
|