Home
last modified time | relevance | path

Searched full:sort (Results 1 – 25 of 936) sorted by relevance

12345678910>>...38

/Linux-v5.15/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-hist-syntax-errors.tc10 check_error 'hist:keys=common_pid:vals=bytes_req:sort=common_pid,^junk' # INVALID_SORT_FIELD
11 check_error 'hist:keys=common_pid:vals=bytes_req:^sort=' # EMPTY_ASSIGNMENT
12 check_error 'hist:keys=common_pid:vals=bytes_req:^sort=common_pid,' # EMPTY_SORT_FIELD
13 check_error 'hist:keys=common_pid:vals=bytes_req:sort=common_pid.^junk' # INVALID_SORT_MODIFIER
14 check_error 'hist:keys=common_pid:vals=bytes_req,bytes_alloc:^sort=common_pid,bytes_req,bytes_alloc…
/Linux-v5.15/scripts/
Dmodule.lds.S22 __ksymtab 0 : { *(SORT(___ksymtab+*)) }
23 __ksymtab_gpl 0 : { *(SORT(___ksymtab_gpl+*)) }
24 __kcrctab 0 : { *(SORT(___kcrctab+*)) }
25 __kcrctab_gpl 0 : { *(SORT(___kcrctab_gpl+*)) }
27 .ctors 0 : ALIGN(8) { *(SORT(.ctors.*)) *(.ctors) }
28 .init_array 0 : ALIGN(8) { *(SORT(.init_array.*)) *(.init_array) }
Ddiffconfig104 # print items in a but not b (accumulate, sort and print)
109 old.sort()
114 # print items that changed (accumulate, sort, and print)
121 changed.sort()
Dnsdeps17 if ! { echo "$SPATCH_REQ_VERSION"; echo "$SPATCH_VERSION"; } | sort -CV ; then
43 # sort the imports
47 cat $source_file | grep MODULE_IMPORT_NS | LC_ALL=C sort -u >> ${source_file}.tmp
/Linux-v5.15/tools/perf/Documentation/
Dperf-report.txt72 --sort=::
73 Sort histogram entries by given key(s) - multiple keys can be specified
74 in CSV format. Following sort keys are available:
119 (i.e. --sort comm,dso,symbol)
121 If --branch-stack option is used, following sort keys are also
135 And default sort keys are changed to comm, dso_from, symbol_from, dso_to
138 When the sort key symbol is specified, columns "IPC" and "IPC Coverage"
146 If the --mem-mode option is used, the following sort keys are also available
162 And the default sort keys are changed to local_weight, mem, sym, dso,
166 If the data file has tracepoint event(s), following (dynamic) sort keys
[all …]
Dperf-top.txt56 --group-sort-idx::
57 Sort the output by the event at the index n in group. If n is invalid,
58 sort by the first event. It can support multiple groups with different
130 --sort::
131 Sort by key(s): pid, comm, dso, symbol, parent, srcline, weight,
133 Please see description of --sort in the perf-report man page.
139 Also it can contain any sort key(s).
141 By default, every sort keys not specified in --field will be appended
278 'cgroup_id' sort key.
294 'cgroup' sort key.
Dperf-kmem.txt43 --sort=<key[,key2...]>::
44 Sort the output (default: 'frag,hit,bytes' for slab and 'bytes,hit'
45 for page). Available sort keys are 'ptr, callsite, bytes, hit,
/Linux-v5.15/tools/perf/trace/beauty/tracepoints/
Dx86_msr.sh19 sed -r "s/$regex/\2 \1/g" | sort -n | \
26 egrep $regex ${x86_msr_index} | sed -r "s/$regex/\2/g" | sort -n | head -1
29 sed -r "s/$regex/\2 \1/g" | egrep -vw 'K6_WHCR' | sort -n | \
35 egrep $regex ${x86_msr_index} | sed -r "s/$regex/\2/g" | sort -n | head -1
38 sed -r "s/$regex/\2 \1/g" | sort -n | \
/Linux-v5.15/scripts/coccinelle/api/
Dcheck_bq27xxx_data.cocci84 List.sort compare i1regs_vals = List.sort compare i2regs_vals
120 List.sort compare i1dmregs_vals = List.sort compare i2dmregs_vals
156 List.sort compare i1props_vals = List.sort compare i2props_vals
/Linux-v5.15/kernel/
Drange.c8 #include <linux/sort.h>
155 /* sort them */ in clean_sort_range()
156 sort(range, nr_range, sizeof(struct range), cmp_range, NULL); in clean_sort_range()
163 /* sort them */ in sort_range()
164 sort(range, nr_range, sizeof(struct range), cmp_range, NULL); in sort_range()
/Linux-v5.15/tools/testing/selftests/ftrace/test.d/event/
Dsubsystem-enable.tc21 count=`cat trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
32 count=`cat trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
43 count=`cat trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
/Linux-v5.15/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
DCore.pm39 foreach my $idx (sort {$a <=> $b} keys %trace_flags) {
69 foreach my $idx (sort {$a <=> $b} keys %{$flag_fields{$event_name}{$field_name}{"values"}}) {
109 foreach my $idx (sort {$a <=> $b} keys %{$flag_fields{$event}{$field}{"values"}}) {
121 foreach my $idx (sort {$a <=> $b} keys %{$symbolic_fields{$event_name}{$field_name}{"values"}}) {
155 foreach my $idx (sort {$a <=> $b} keys %{$symbolic_fields{$event}{$field}{"values"}}) {
/Linux-v5.15/lib/
Dlist_sort.c22 /* if equal, take 'a' -- important for sort stability */ in merge()
59 /* if equal, take 'a' -- important for sort stability */ in merge_final()
102 * list_sort - sort a list
104 * @head: the list to sort
107 * The comparison function @cmp must return > 0 if @a should sort after
108 * @b ("@a > @b" if you want an ascending sort), and <= 0 if @a should
109 * sort before @b *or* their original order should be preserved. It is
111 * and list_sort is a stable sort, so it is not necessary to distinguish
Dsort.c3 * A fast, small, non-recursive O(n log n) sort for the Linux kernel
17 #include <linux/sort.h>
181 * sort_r - sort an array of elements
182 * @base: pointer to data to sort
234 else /* Sort complete */ in sort_r()
266 void sort(void *base, size_t num, size_t size, in sort() function
272 EXPORT_SYMBOL(sort);
/Linux-v5.15/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-inter-event-combined-hist.tc22 echo 'hist:keys=pid,lat:sort=pid,lat' > events/synthetic/waking_latency/trigger
29 echo 'hist:keys=pid,lat:sort=pid,lat:ww_lat=$waking_lat+$wakeup_lat:onmatch(synthetic.wakeup_latenc…
30 echo 'hist:keys=pid,lat:sort=pid,lat' >> events/synthetic/waking_plus_wakeup_latency/trigger
/Linux-v5.15/tools/perf/util/
Dgenerate-cmdlist.sh14 sort |
28 sort |
43 sort |
Dsort.c10 #include "sort.h"
95 /* --sort pid */
131 /* --sort comm */
172 /* --sort dso */
236 /* --sort symbol */
364 /* --sort srcline */
398 /* --sort srcline_from */
430 /* --sort srcline_to */
508 /* --sort srcfile */
560 /* --sort parent */
[all …]
/Linux-v5.15/drivers/net/wireless/ath/ath9k/
Dcalib.c27 int16_t sort[ATH9K_NF_CAL_HIST_MAX]; in ath9k_hw_get_nf_hist_mid() local
31 sort[i] = nfCalBuffer[i]; in ath9k_hw_get_nf_hist_mid()
35 if (sort[j] > sort[j - 1]) { in ath9k_hw_get_nf_hist_mid()
36 nfval = sort[j]; in ath9k_hw_get_nf_hist_mid()
37 sort[j] = sort[j - 1]; in ath9k_hw_get_nf_hist_mid()
38 sort[j - 1] = nfval; in ath9k_hw_get_nf_hist_mid()
42 nfval = sort[(ATH9K_NF_CAL_HIST_MAX - 1) >> 1]; in ath9k_hw_get_nf_hist_mid()
/Linux-v5.15/drivers/acpi/acpica/
Dnsrepair2.c97 * _ALR: Sort the list ascending by ambient_illuminance
99 * _CST: Sort the list ascending by C state type
104 * _PSS: Sort the list descending by Power
105 * _TSS: Sort the list descending by Power
213 * DESCRIPTION: Repair for the _ALR object. If necessary, sort the object list
401 * 1. Sort the list ascending by C state type
638 * DESCRIPTION: Repair for the _PSS object. If necessary, sort the object list
661 * incorrectly sorted, sort it. We sort by cpu_frequency, since this in acpi_ns_repair_PSS()
708 * DESCRIPTION: Repair for the _TSS object. If necessary, sort the object list
722 * We can only sort the _TSS return package if there is no _PSS in the in acpi_ns_repair_TSS()
[all …]
/Linux-v5.15/tools/lib/traceevent/Documentation/
Dlibtraceevent-event_list.txt31 context. The _sort_type_ argument is the required sort criteria:
34 _TEP_EVENT_SORT_ID_ - sort by the event ID.
35 _TEP_EVENT_SORT_NAME_ - sort by the event (name, system, id) triplet.
36 _TEP_EVENT_SORT_SYSTEM_ - sort by the event (system, name, id) triplet.
/Linux-v5.15/tools/perf/
Dbuiltin-kmem.c493 struct sort_dimension *sort; in __page_stat__findnew_alloc() local
501 list_for_each_entry(sort, &page_alloc_sort_input, list) { in __page_stat__findnew_alloc()
502 cmp = sort->cmp(pstat, data); in __page_stat__findnew_alloc()
548 struct sort_dimension *sort; in __page_stat__findnew_caller() local
556 list_for_each_entry(sort, &page_caller_sort_input, list) { in __page_stat__findnew_caller()
557 cmp = sort->cmp(pstat, data); in __page_stat__findnew_caller()
1253 struct sort_dimension *sort; in sort_slab_insert() local
1262 list_for_each_entry(sort, sort_list, list) { in sort_slab_insert()
1263 cmp = sort->cmp(data, this); in sort_slab_insert()
1300 struct sort_dimension *sort; in sort_page_insert() local
[all …]
Dbuiltin-mem.c311 char sort[128]; in get_sort_order() local
318 strcpy(sort, "--sort=mem,sym,dso,symbol_daddr," in get_sort_order()
321 strcpy(sort, "--sort=local_weight,mem,sym,dso,symbol_daddr," in get_sort_order()
327 strcat(sort, ",phys_daddr"); in get_sort_order()
330 strcat(sort, ",data_page_size"); in get_sort_order()
332 return strdup(sort); in get_sort_order()
/Linux-v5.15/tools/lib/lockdep/
Drun_tests.sh10 find tests -name '*.c' | sort | while read -r i; do
22 find tests -name '*.c' | sort | while read -r i; do
35 find tests -name '*.c' | sort | while read -r i; do
/Linux-v5.15/include/linux/ceph/
Dceph_frag.h16 * values logically sort.
19 * can't sort encoded frags numerically. However, it does allow you
70 * comparator to sort frags logically, as when traversing the
/Linux-v5.15/Documentation/trace/
Dhistogram.rst27 [:sort=<field1[,field2,...]>][:size=#entries][:pause][:continue]
46 Additionally, sort keys consisting of up to two fields can be
47 specified by the 'sort' keyword. If more than one field is
48 specified, the result will be a 'sort within a sort': the first key
49 is taken to be the primary sort key and the second the secondary
122 The 'sort' parameter can be used to specify a value field to sort
123 on. The default if unspecified is 'hitcount' and the default sort
124 order is 'ascending'. To sort in the opposite direction, append
125 .descending' to the sort key.
248 # trigger info: hist:keys=call_site:vals=bytes_req:sort=hitcount:size=2048 [active]
[all …]

12345678910>>...38