/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | hists_output.c | 134 sort_order = NULL; /* equivalent to sort_order = "comm,dso,sym" */ in test1() 161 pr_info("[fields = %s, sort = %s]\n", field_order, sort_order); in test1() 236 sort_order = "pid"; in test2() 261 pr_info("[fields = %s, sort = %s]\n", field_order, sort_order); in test2() 292 sort_order = NULL; in test3() 315 pr_info("[fields = %s, sort = %s]\n", field_order, sort_order); in test3() 366 sort_order = "sym"; in test4() 393 pr_info("[fields = %s, sort = %s]\n", field_order, sort_order); in test4() 468 sort_order in test5() [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | hists_output.c | 147 sort_order = NULL; /* equivalent to sort_order = "comm,dso,sym" */ in test1() 174 pr_info("[fields = %s, sort = %s]\n", field_order, sort_order); in test1() 249 sort_order = "pid"; in test2() 274 pr_info("[fields = %s, sort = %s]\n", field_order, sort_order); in test2() 305 sort_order = NULL; in test3() 328 pr_info("[fields = %s, sort = %s]\n", field_order, sort_order); in test3() 379 sort_order = "sym"; in test4() 406 pr_info("[fields = %s, sort = %s]\n", field_order, sort_order); in test4() 481 sort_order in test5() [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-report.c | 132 if (!strcmp(var, "report.sort_order")) { in report__config() 500 ret += fprintf(fp, "\n# Sort order : %s", sort_order ? : default_mem_sort_order); in hists__fprintf_nr_sample_events() 1198 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_report() 1453 if (sort_order == NULL) in cmd_report() 1454 sort_order = "srcline,symbol,dso"; in cmd_report() 1505 sort_order = NULL; in cmd_report() 1513 if (sort_order && strstr(sort_order, "ipc")) { in cmd_report() 1518 if (sort_order && strstr(sort_order, "symbo in cmd_report() [all...] |
H A D | builtin-top.c | 1500 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_top() 1672 if (sort_order) in cmd_top() 1675 parse_options_usage(sort_order ? NULL : top_usage, in cmd_top()
|
H A D | builtin-sched.c | 182 const char *sort_order; member 3325 char *tmp, *tok, *str = strdup(sched->sort_order); in setup_sorting() 3430 .sort_order = default_sort_order, in cmd_sched() 3450 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]", in cmd_sched()
|
H A D | builtin-diff.c | 1289 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", 1996 sort_order = "srcline,symbol,dso"; in cmd_diff()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-report.c | 144 if (!strcmp(var, "report.sort_order")) { in report__config() 147 pr_err("Not enough memory for report.sort_order\n"); in report__config() 526 ret += fprintf(fp, "\n# Sort order : %s", sort_order ? : default_mem_sort_order); in hists__fprintf_nr_sample_events() 1274 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_report() 1544 if (sort_order == NULL) in cmd_report() 1545 sort_order = "srcline,symbol,dso"; in cmd_report() 1600 sort_order = NULL; in cmd_report() 1608 if (sort_order && strstr(sort_order, "ipc")) { in cmd_report() 1613 if (sort_order in cmd_report() [all...] |
H A D | builtin-kwork.c | 183 char *tmp, *tok, *str = strdup(kwork->sort_order); in setup_sorting() 192 pr_debug("Sort order: %s\n", kwork->sort_order); in setup_sorting() 1713 .sort_order = NULL, in cmd_kwork() 1738 OPT_STRING('s', "sort", &kwork.sort_order, "key[,key2...]", in cmd_kwork() 1757 OPT_STRING('s', "sort", &kwork.sort_order, "key[,key2...]", in cmd_kwork() 1826 kwork.sort_order = default_report_sort_order; in cmd_kwork() 1836 kwork.sort_order = default_latency_sort_order; in cmd_kwork()
|
H A D | builtin-top.c | 1511 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", in cmd_top() 1713 if (!sort_order) in cmd_top() 1714 sort_order = "srcline,symbol,dso"; in cmd_top() 1734 if (sort_order) in cmd_top() 1737 parse_options_usage(sort_order ? NULL : top_usage, in cmd_top()
|
H A D | builtin-annotate.c | 712 sort_order = "dso,symbol"; in cmd_annotate()
|
H A D | builtin-sched.c | 183 const char *sort_order; member 3364 char *tmp, *tok, *str = strdup(sched->sort_order); in setup_sorting() 3481 .sort_order = default_sort_order, in cmd_sched() 3501 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]", in cmd_sched()
|
H A D | builtin-diff.c | 1292 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", 1999 sort_order = "srcline,symbol,dso"; in cmd_diff()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | kwork.h | 203 const char *sort_order; member
|
H A D | sort.h | 20 extern const char *sort_order;
|
H A D | sort.c | 48 const char *sort_order; variable 3352 if (!sort_order || is_strict_order(sort_order)) in setup_sort_order() 3355 if (sort_order[1] == '\0') { in setup_sort_order() 3361 * We allocate new sort_order string, but we never free it, in setup_sort_order() 3365 get_default_sort_order(evlist), sort_order + 1) < 0) { in setup_sort_order() 3370 sort_order = new_sort_order; in setup_sort_order() 3415 sort_keys = sort_order; in __setup_sorting() 3714 sort_order = NULL; in reset_output_field()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | sort.h | 20 extern const char *sort_order;
|
H A D | sort.c | 43 const char *sort_order; variable 2785 if (!sort_order || is_strict_order(sort_order)) in setup_sort_order() 2788 if (sort_order[1] == '\0') { in setup_sort_order() 2794 * We allocate new sort_order string, but we never free it, in setup_sort_order() 2798 get_default_sort_order(evlist), sort_order + 1) < 0) { in setup_sort_order() 2803 sort_order = new_sort_order; in setup_sort_order() 2848 sort_keys = sort_order; in __setup_sorting() 3143 sort_order = NULL; in reset_output_field()
|
/kernel/linux/linux-5.10/tools/perf/ui/stdio/ |
H A D | hist.c | 240 sort_order && strstarts(sort_order, "sym")) in callchain__fprintf_graph()
|
/kernel/linux/linux-6.6/tools/perf/ui/stdio/ |
H A D | hist.c | 240 sort_order && strstarts(sort_order, "sym")) in callchain__fprintf_graph()
|
/kernel/linux/linux-5.10/tools/perf/ui/browsers/ |
H A D | hists.c | 2756 if (sort_order && strstr(sort_order, "time")) { in add_script_opt()
|
/kernel/linux/linux-6.6/tools/perf/ui/browsers/ |
H A D | hists.c | 2761 if (sort_order && strstr(sort_order, "time")) { in add_script_opt()
|