Searched refs:sort_order (Results 1 - 12 of 12) sorted by relevance

/linux-master/tools/perf/tests/
H A Dhists_output.c147 sort_order = NULL; /* equivalent to sort_order = "comm,dso,sym" */
174 pr_info("[fields = %s, sort = %s]\n", field_order, sort_order);
249 sort_order = "pid";
274 pr_info("[fields = %s, sort = %s]\n", field_order, sort_order);
305 sort_order = NULL;
328 pr_info("[fields = %s, sort = %s]\n", field_order, sort_order);
379 sort_order = "sym";
406 pr_info("[fields = %s, sort = %s]\n", field_order, sort_order);
481 sort_order
[all...]
/linux-master/tools/perf/
H A Dbuiltin-report.c145 if (!strcmp(var, "report.sort_order")) {
148 pr_err("Not enough memory for report.sort_order\n");
527 ret += fprintf(fp, "\n# Sort order : %s", sort_order ? : default_mem_sort_order);
1346 OPT_STRING('s', "sort", &sort_order, "key[,key2...]",
1623 if (sort_order == NULL)
1624 sort_order = "srcline,symbol,dso";
1679 sort_order = NULL;
1682 if (sort_order && strstr(sort_order, "type")) {
1697 if (sort_order
[all...]
H A Dbuiltin-kwork.c226 char *tmp, *tok, *str = strdup(kwork->sort_order);
235 pr_debug("Sort order: %s\n", kwork->sort_order);
2342 .sort_order = NULL,
2368 OPT_STRING('s', "sort", &kwork.sort_order, "key[,key2...]",
2387 OPT_STRING('s', "sort", &kwork.sort_order, "key[,key2...]",
2425 OPT_STRING('s', "sort", &kwork.sort_order, "key[,key2...]",
2477 kwork.sort_order = default_report_sort_order;
2488 kwork.sort_order = default_latency_sort_order;
2508 kwork.sort_order = default_top_sort_order;
H A Dbuiltin-top.c1510 OPT_STRING('s', "sort", &sort_order, "key[,key2...]",
1712 if (!sort_order)
1713 sort_order = "srcline,symbol,dso";
1733 if (sort_order)
1736 parse_options_usage(sort_order ? NULL : top_usage,
H A Dbuiltin-annotate.c954 sort_order = "dso,type";
956 sort_order = "dso,symbol";
H A Dbuiltin-diff.c1292 OPT_STRING('s', "sort", &sort_order, "key[,key2...]",
1999 sort_order = "srcline,symbol,dso";
H A Dbuiltin-sched.c165 const char *sort_order; member in struct:perf_sched
3401 char *tmp, *tok, *str = strdup(sched->sort_order);
3518 .sort_order = default_sort_order,
3538 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]",
/linux-master/tools/perf/util/
H A Dkwork.h231 const char *sort_order; member in struct:perf_kwork
H A Dsort.h21 extern const char *sort_order;
H A Dsort.c49 const char *sort_order; variable
3550 if (!sort_order || is_strict_order(sort_order))
3553 if (sort_order[1] == '\0') {
3559 * We allocate new sort_order string, but we never free it,
3563 get_default_sort_order(evlist), sort_order + 1) < 0) {
3568 sort_order = new_sort_order;
3613 sort_keys = sort_order;
3912 sort_order = NULL;
/linux-master/tools/perf/ui/stdio/
H A Dhist.c240 sort_order && strstarts(sort_order, "sym"))
/linux-master/tools/perf/ui/browsers/
H A Dhists.c2758 if (sort_order && strstr(sort_order, "time")) {

Completed in 852 milliseconds