Home
last modified time | relevance | path

Searched refs:sort_key (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/kernel/trace/
H A Dtracing_map.c713 struct tracing_map_sort_key *sort_key) in set_sort_key()
715 map->sort_key = *sort_key; in set_sort_key()
863 struct tracing_map_sort_key *sort_key; in cmp_entries_sum() local
875 sort_key = &elt_a->map->sort_key; in cmp_entries_sum()
877 field = &elt_a->fields[sort_key->field_idx]; in cmp_entries_sum()
880 val_a = &elt_a->fields[sort_key->field_idx].sum; in cmp_entries_sum()
881 val_b = &elt_b->fields[sort_key->field_idx].sum; in cmp_entries_sum()
884 if (sort_key in cmp_entries_sum()
712 set_sort_key(struct tracing_map *map, struct tracing_map_sort_key *sort_key) set_sort_key() argument
894 struct tracing_map_sort_key *sort_key; cmp_entries_key() local
[all...]
H A Dtracing_map.h197 struct tracing_map_sort_key sort_key; member
H A Dtrace_events_hist.c4022 struct tracing_map_sort_key *sort_key; in create_sort_keys() local
4036 sort_key = &hist_data->sort_keys[i]; in create_sort_keys()
4067 sort_key->descending = descending; in create_sort_keys()
4083 sort_key->field_idx = idx; in create_sort_keys()
4089 sort_key->descending = descending; in create_sort_keys()
5205 struct tracing_map_sort_key *sort_key; in event_hist_trigger_print() local
5211 sort_key = &hist_data->sort_keys[i]; in event_hist_trigger_print()
5212 idx = sort_key->field_idx; in event_hist_trigger_print()
5228 if (sort_key->descending) in event_hist_trigger_print()
5387 struct tracing_map_sort_key *sort_key, *sort_key_tes in hist_trigger_match() local
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtracing_map.c713 struct tracing_map_sort_key *sort_key) in set_sort_key()
715 map->sort_key = *sort_key; in set_sort_key()
863 struct tracing_map_sort_key *sort_key; in cmp_entries_sum() local
875 sort_key = &elt_a->map->sort_key; in cmp_entries_sum()
877 field = &elt_a->fields[sort_key->field_idx]; in cmp_entries_sum()
880 val_a = &elt_a->fields[sort_key->field_idx].sum; in cmp_entries_sum()
881 val_b = &elt_b->fields[sort_key->field_idx].sum; in cmp_entries_sum()
884 if (sort_key in cmp_entries_sum()
712 set_sort_key(struct tracing_map *map, struct tracing_map_sort_key *sort_key) set_sort_key() argument
894 struct tracing_map_sort_key *sort_key; cmp_entries_key() local
[all...]
H A Dtracing_map.h197 struct tracing_map_sort_key sort_key; member
H A Dtrace_events_hist.c4705 struct tracing_map_sort_key *sort_key; in create_sort_keys() local
4719 sort_key = &hist_data->sort_keys[i]; in create_sort_keys()
4750 sort_key->descending = descending; in create_sort_keys()
4766 sort_key->field_idx = idx; in create_sort_keys()
4772 sort_key->descending = descending; in create_sort_keys()
6033 struct tracing_map_sort_key *sort_key; in event_hist_trigger_print() local
6039 sort_key = &hist_data->sort_keys[i]; in event_hist_trigger_print()
6040 idx = sort_key->field_idx; in event_hist_trigger_print()
6056 if (sort_key->descending) in event_hist_trigger_print()
6214 struct tracing_map_sort_key *sort_key, *sort_key_tes in hist_trigger_match() local
[all...]
/kernel/linux/linux-6.6/tools/perf/arch/powerpc/util/
H A Devent.c53 int arch_support_sort_key(const char *sort_key) in arch_support_sort_key() argument
55 if (!strcmp(sort_key, "p_stage_cyc")) in arch_support_sort_key()
57 if (!strcmp(sort_key, "local_p_stage_cyc")) in arch_support_sort_key()
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
H A Devent.c119 int arch_support_sort_key(const char *sort_key) in arch_support_sort_key() argument
121 if (!strcmp(sort_key, "p_stage_cyc")) in arch_support_sort_key()
123 if (!strcmp(sort_key, "local_p_stage_cyc")) in arch_support_sort_key()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dkvm-stat.h84 const char *sort_key; member
/kernel/linux/linux-6.6/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.c2068 /* Entries are sorted with increasing values of sort_key.
2069 * I.e. Lowest numerical sort_key is first in list.
2107 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()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dkvm-stat.h88 const char *sort_key; member
H A Devent.h381 int arch_support_sort_key(const char *sort_key);
H A Dsort.c2141 int __weak arch_support_sort_key(const char *sort_key __maybe_unused) in arch_support_sort_key()
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-lock.c245 static const char *sort_key = "acquired"; variable
271 if (!strcmp(keys[i].name, sort_key)) { in select_key()
277 pr_err("Unknown compare key: %s\n", sort_key); in select_key()
969 OPT_STRING('k', "key", &sort_key, "acquired", in cmd_lock()
H A Dbuiltin-kvm.c497 if (!strcmp(keys[i].name, kvm->sort_key)) { in select_key()
503 pr_err("Unknown compare key:%s\n", kvm->sort_key); in select_key()
1263 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_report()
1365 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_live()
1495 .sort_key = "sample", in kvm_cmd_stat()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-lock.c280 static const char *sort_key = "acquired"; variable
324 if (!strcmp(keys[i].name, sort_key)) { in select_key()
335 pr_err("Unknown compare key: %s\n", sort_key); in select_key()
2493 OPT_STRING('k', "key", &sort_key, "acquired", in cmd_lock()
2507 OPT_STRING('k', "key", &sort_key, "wait_total", in cmd_lock()
2604 sort_key = "wait_total"; in cmd_lock()
H A Dbuiltin-kvm.c1037 if (!strcmp(key_array[i], kvm->sort_key)) in is_valid_key()
1040 pr_err("Unsupported sort key: %s\n", kvm->sort_key); in is_valid_key()
1069 kvm_hists__reinit(output_columns, kvm->sort_key); in sort_result()
1795 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_report()
1901 OPT_STRING('k', "key", &kvm->sort_key, "sort-key", in kvm_events_live()
2031 .sort_key = "sample", in kvm_cmd_stat()

Completed in 39 milliseconds