Home
last modified time | relevance | path

Searched refs:sort_key (Results 1 – 10 of 10) sorted by relevance

/linux/kernel/trace/
H A Dtracing_map.c713 struct tracing_map_sort_key *sort_key) in set_sort_key() argument
715 map->sort_key = *sort_key; in set_sort_key()
859 struct tracing_map_sort_key *sort_key; in cmp_entries_sum() local
871 sort_key = &elt_a->map->sort_key; in cmp_entries_sum()
873 field = &elt_a->fields[sort_key->field_idx]; in cmp_entries_sum()
876 val_a = &elt_a->fields[sort_key->field_idx].sum; in cmp_entries_sum()
877 val_b = &elt_b->fields[sort_key->field_idx].sum; in cmp_entries_sum()
880 if (sort_key->descending) in cmp_entries_sum()
890 struct tracing_map_sort_key *sort_key; in cmp_entries_key() local
902 sort_key = &elt_a->map->sort_key; in cmp_entries_key()
[all …]
H A Dtracing_map.h197 struct tracing_map_sort_key sort_key; member
H A Dtrace_events_hist.c4721 struct tracing_map_sort_key *sort_key; in create_sort_keys() local
4735 sort_key = &hist_data->sort_keys[i]; in create_sort_keys()
4766 sort_key->descending = descending; in create_sort_keys()
4782 sort_key->field_idx = idx; in create_sort_keys()
4788 sort_key->descending = descending; in create_sort_keys()
6228 struct tracing_map_sort_key *sort_key; in event_hist_trigger_print() local
6234 sort_key = &hist_data->sort_keys[i]; in event_hist_trigger_print()
6235 idx = sort_key->field_idx; in event_hist_trigger_print()
6251 if (sort_key->descending) in event_hist_trigger_print()
6411 struct tracing_map_sort_key *sort_key, *sort_key_test; in hist_trigger_match() local
[all …]
/linux/tools/perf/
H A Dbuiltin-mem.c34 const char *sort_key; member
333 if (mem->sort_key) in get_sort_order()
334 scnprintf(sort, sizeof(sort), "--sort=%s", mem->sort_key); in get_sort_order()
515 OPT_STRING('s', "sort", &mem.sort_key, "key[,key2...]", in cmd_mem()
H A Dbuiltin-kvm.c976 if (!strcmp(key_array[i], kvm->sort_key)) in is_valid_key()
979 pr_err("Unsupported sort key: %s\n", kvm->sort_key); in is_valid_key()
1008 kvm_hists__reinit(output_columns, kvm->sort_key); in sort_result()
1734 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_report()
1840 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_live()
1967 .sort_key = "sample", in kvm_cmd_stat()
H A Dbuiltin-lock.c264 static const char *sort_key = "acquired"; variable
308 if (!strcmp(keys[i].name, sort_key)) { in select_key()
319 pr_err("Unknown compare key: %s\n", sort_key); in select_key()
2614 OPT_STRING('k', "key", &sort_key, "acquired", in cmd_lock()
2628 OPT_STRING('k', "key", &sort_key, "wait_total", in cmd_lock()
2737 sort_key = "wait_total"; in cmd_lock()
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_private.h29 u32 sort_key; /* defines the position in the VCAP */ member
H A Dvcap_api.c2107 ri->sort_key = vcap_sort_key(sw_count, ri->size, ri->data.user, in vcap_insert_rule()
2116 if (ri->sort_key < iter->sort_key) { in vcap_insert_rule()
/linux/tools/perf/Documentation/
H A Dperf-report.txt266 --call-graph=<print_type,threshold[,print_limit],order,sort_key[,branch],value>::
293 sort_key can be:
/linux/tools/perf/util/
H A Dsort.c2533 static int arch_support_sort_key(const char *sort_key, struct perf_env *env) in arch_support_sort_key() argument
2538 if (!strcmp(sort_key, "p_stage_cyc")) in arch_support_sort_key()
2540 if (!strcmp(sort_key, "local_p_stage_cyc")) in arch_support_sort_key()