Home
last modified time | relevance | path

Searched refs:sed (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/linux-6.12.1/tools/testing/selftests/bpf/benchs/
Drun_common.sh23 echo "$*" | sed -E "s/.*hits\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/"
28 echo "$*" | sed -E "s/.*drops\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/"
33 echo "$*" | sed -E "s/.*Percentage\s=\s+([0-9]+\.[0-9]+).*/\1/"
39 echo -n "$*" | sed -E "s/.*throughput\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+\sM\sops\/s).*/\1/"
41 echo "$*" | sed -E "s/.*latency\s+([0-9]+\.[0-9]+\sns\/op).*/\1/"
47 echo -n "$*" | sed -E "s/.* hits throughput\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+\sM\sops\/s).*/\1/"
49 echo -n "$*" | sed -E "s/.* hits latency\s+([0-9]+\.[0-9]+\sns\/op).*/\1/"
51 …echo "$*" | sed -E "s/.*important_hits throughput\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+\sM\sops\/s).*…
56 echo "$*" | sed -E "s/.*total operations\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/"
Drun_bench_htab_mem.sh11 echo -n "$*" | sed -E "s/.* per-prod-op\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+k\/s).*/\1/"
13 echo -n "$*" | sed -E "s/.* memory usage\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+MiB).*/\1/"
15 echo "$*" | sed -E "s/.* peak memory usage\s+([0-9]+\.[0-9]+MiB).*/\1/"
/linux-6.12.1/tools/perf/util/
Dgenerate-cmdlist.sh13 sed -n -e 's/^perf-\([^ ]*\)[ ].* common.*/\1/p' command-list.txt |
17 sed -n '
27 sed -n -e 's/^perf-\([^ ]*\)[ ].* full.*/\1/p' command-list.txt |
31 sed -n '
42 sed -n -e 's/^perf-\([^ ]*\)[ ].* audit*/\1/p' command-list.txt |
46 sed -n '
57 sed -n -e 's/^perf-\([^ ]*\)[ ].* traceevent.*/\1/p' command-list.txt |
61 sed -n '
DPERF-VERSION-GEN25 TAG=$(cut -d' ' -f3 ../../PERF-VERSION-FILE | sed -e 's/\"//g')
36 VN=$(echo "$VN" | sed -e 's/-/./g;s/\([0-9]*[.][0-9]*\)[.]0/\1/')
43 VC=$(sed -e 's/^#define PERF_VERSION "\(.*\)"/\1/' <$GVF)
/linux-6.12.1/security/apparmor/
DMakefile32 sed $< >>$@ -r -n -e "/AF_MAX/d" -e "/AF_LOCAL/d" -e "/AF_ROUTE/d" -e \
36 sed -r -n -e "/AF_MAX/d" -e "/AF_LOCAL/d" -e "/AF_ROUTE/d" -e \
38 $< | tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@
47 sed $^ >>$@ -r -n \
58 sed $< >>$@ -r -n -e '/CAP_FS_MASK/d' \
62 sed $< -r -n -e '/CAP_FS_MASK/d' \
64 tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@
91 sed $< >> $@ -r -n \
95 sed -r -n "s/^\# ?define[ \t]+(RLIMIT_[A-Z0-9_]+).*/\1,/p" $< >> $@ ;\
98 sed -r -n 's/^\# ?define[ \t]+RLIMIT_([A-Z0-9_]+).*/\L\1/p' $< | \
[all …]
/linux-6.12.1/scripts/
Dfaddr2line88 local start_kernel_addr=$(echo "${ELF_SYMS}" | sed 's/\[.*\]//' |
115 …ELF_FILEHEADER=$(echo "${out}" | sed -n '/There are [0-9]* section headers, starting at offset\|Se…
116 …F_SECHEADERS=$(echo "${out}" | sed -n '/There are [0-9]* section headers, starting at offset\|Sect…
117 ELF_SYMS=$(echo "${out}" | sed -n '/Symbol table .* contains [0-9]* entries:/,$p')
158 ADDR2LINE_OUT=$(echo "${first_line}" | sed 's/^0x[0-9a-fA-F]*: //')
163 ADDR2LINE_OUT+=$'\n'$(echo "$line" | sed 's/^0x[0-9a-fA-F]*: //')
169 ADDR2LINE_OUT=$(${ADDR2LINE} ${ADDR2LINE_ARGS} ${sec_arg} ${addr} | sed 's/^0x[0-9a-fA-F]*: //')
203 sec_size=$(echo "${ELF_SECHEADERS}" | sed 's/\[ /\[/' |
213 sec_name=$(echo "${ELF_SECHEADERS}" | sed 's/\[ /\[/' |
255 …done < <(echo "${ELF_SYMS}" | sed 's/\[.*\]//' | ${AWK} -v sec=$sym_sec '$7 == sec' | sort --key=2…
[all …]
Ddecodecode56 code=`echo $code | sed -e 's/.*Code: //'`
177 all_code=$(echo $all_code | sed -e 's/[<>()]//g')
201 all_code=$(echo $all_code | sed -e "s!^.\{$del_chars\}!!")
226 echo $beforemark | sed -e 's/ /,0x/g; s/[<>()]//g' >> $T.s
243 code=`echo $code | sed -e 's/\r//;s/ [<(]/ /;s/[>)] / /;s/ /,0x/g; s/[>)]$//'`
249 cat $T.oo | sed -e "${faultlinenum}s/^\([^:]*:\)\(.*\)/\1\*\2\t\t<-- trapping instruction/"
Drust_is_available.sh98 | sed -nE '1s:.*rustc ([0-9]+\.[0-9]+\.[0-9]+).*:\1:p'
142 | sed -nE '1s:.*bindgen ([0-9]+\.[0-9]+\.[0-9]+).*:\1:p'
204 | sed -nE 's:.*clang version ([0-9]+\.[0-9]+\.[0-9]+).*:\1:p'
237 | sed -nE '1s:.*version ([0-9]+\.[0-9]+\.[0-9]+).*:\1:p'
/linux-6.12.1/tools/testing/selftests/amd-pstate/
Dgitsource.sh38 sed -i '/Comprison(%)/d' $OUTFILE_GIT.csv
39 sed -i "/$(scaling_name)/d" $OUTFILE_GIT.csv
104 …awk '{print $5}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-d…
108 …awk '{print $7}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-f…
112 …awk '{print $11}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-…
116 …grep user $OUTFILE_GIT.time-gitsource-$1-$2.log | awk '{print $1}' | sed -e 's/user//' > $OUTFILE_…
209 des_perf_base=`echo "$base" | awk '{print $3}' | sed s/,//`
210 freq_base=`echo "$base" | awk '{print $4}' | sed s/,//`
211 load_base=`echo "$base" | awk '{print $5}' | sed s/,//`
212 time_base=`echo "$base" | awk '{print $6}' | sed s/,//`
[all …]
Dtbench.sh33 sed -i '/Comprison(%)/d' $OUTFILE_TBENCH.csv
34 sed -i "/$(scaling_name)/d" $OUTFILE_TBENCH.csv
86 …awk '{print $5}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-d…
90 …awk '{print $7}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-f…
94 …awk '{print $11}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-…
191 des_perf_base=`echo "$base" | awk '{print $3}' | sed s/,//`
192 freq_base=`echo "$base" | awk '{print $4}' | sed s/,//`
193 load_base=`echo "$base" | awk '{print $5}' | sed s/,//`
194 perf_base=`echo "$base" | awk '{print $6}' | sed s/,//`
195 energy_base=`echo "$base" | awk '{print $7}' | sed s/,//`
[all …]
/linux-6.12.1/tools/testing/selftests/ftrace/test.d/00basic/
Dtrace_marker.tc8 sed -ne 's/^.*data.*size:\([0-9][0-9]*\).*/\1/p' events/header_page
12 sed -ne 's/^.*data.*offset:\([0-9][0-9]*\).*/\1/p' events/header_page
16 type_len=`sed -ne 's/^.*type_len.*:[^0-9]*\([0-9][0-9]*\).*/\1/p' events/header_event`
17 time_len=`sed -ne 's/^.*time_delta.*:[^0-9]*\([0-9][0-9]*\).*/\1/p' events/header_event`
18 array_len=`sed -ne 's/^.*array.*:[^0-9]*\([0-9][0-9]*\).*/\1/p' events/header_event`
25 sed -ne 's/^.*buf.*offset:\([0-9][0-9]*\).*/\1/p' events/ftrace/print/format
Dringbuffer_subbuf_size.tc8 sed -ne 's/^.*data.*size:\([0-9][0-9]*\).*/\1/p' events/header_page
12 sed -ne 's/^.*data.*offset:\([0-9][0-9]*\).*/\1/p' events/header_page
16 type_len=`sed -ne 's/^.*type_len.*:[^0-9]*\([0-9][0-9]*\).*/\1/p' events/header_event`
17 time_len=`sed -ne 's/^.*time_delta.*:[^0-9]*\([0-9][0-9]*\).*/\1/p' events/header_event`
18 array_len=`sed -ne 's/^.*array.*:[^0-9]*\([0-9][0-9]*\).*/\1/p' events/header_event`
25 sed -ne 's/^.*buf.*offset:\([0-9][0-9]*\).*/\1/p' events/ftrace/print/format
/linux-6.12.1/tools/testing/selftests/
Dkselftest_deps.sh209 sed -e 's/\:/ /' | \
210 sed -e 's/+/ /' | cut -d "=" -f 2)
220 sed -e 's/\:/ /' | sed -e 's/+/ /' | \
229 grep -v "pkg-config" | sed -e 's/\:/ /' |
230 sed -e 's/+/ /' | cut -d "=" -f 2)
239 sed -e 's/.*|| echo //' | sed -e 's/)$//')
/linux-6.12.1/tools/perf/trace/beauty/tracepoints/
Dx86_msr.sh19 sed -r "s/$regex/\2 \1/g" | sort -n | \
26 grep -E $regex ${x86_msr_index} | sed -r "s/$regex/\2/g" | sort -n | head -1
29 sed -r "s/$regex/\2 \1/g" | grep -E -vw 'K6_WHCR' | sort -n | \
35 grep -E $regex ${x86_msr_index} | sed -r "s/$regex/\2/g" | sort -n | head -1
38 sed -r "s/$regex/\2 \1/g" | sort -n | \
Dx86_irq_vectors.sh18 first_external_vector=$(grep -E ${first_external_regex} ${x86_irq_vectors} | sed -r "s/${first_exte…
22 sed -r "s/FIRST_EXTERNAL_VECTOR/${first_external_vector}/g" ${x86_irq_vectors} | \
24 sed -r "s/${regex}/\2 \1/g" | sort -n | \
/linux-6.12.1/tools/leds/
Dget_led_device_info.sh29 led_cdev_path=`echo $1 | sed s'/\/$//'`
37 bus=`readlink $led_cdev_path/device/subsystem | sed s'/.*\///'`
38 usb_subdev=`readlink $led_cdev_path | grep usb | sed s'/\(.*usb[0-9]*\/[0-9]*-[0-9]*\)\/.*/\1/'`
43 input_node=`readlink $led_cdev_path/device | sed s'/.*\///'`
50 usb_interface=`readlink $led_cdev_path | sed s'/.*\(usb[0-9]*\)/\1/' | cut -d\/ -f3`
52 driver=`readlink $usb_interface/driver | sed s'/.*\///'`
114 led_name=`echo $led_cdev_path | sed s'/.*\///'`
193 function=`echo $function | sed s'/\(.*\)-[0-9]*$/\1/'`
/linux-6.12.1/tools/testing/selftests/rcutorture/bin/
Dconfigcheck.sh39 sed -e 's/"//g' < $1 > $T/.config
40 sed -e 's/^#CHECK#//' < $2 > $T/ConfigFragment
42 sed -e 's/^/test_kconfig_disabled /' -e 's/=n$//' > $T/kconfig-n.sh
45 sed -e 's/^/test_kconfig_enabled /' > $T/kconfig-not-n.sh
Dkvm-recheck-lock.sh21 configfile=`echo $i | sed -e 's/^.*\///'`
22 ncs=`grep "Writes: Total:" $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* Total: //' -e 's/…
28 …dur=`grep -v '^#' $i/qemu-cmd | sed -e 's/^.* locktorture.shutdown_secs=//' -e 's/ .*$//' 2> /dev/…
/linux-6.12.1/tools/perf/trace/beauty/
Dmmap_flags.sh25 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
30 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
36 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
41 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
/linux-6.12.1/tools/memory-model/scripts/
Dcmplitmushist.sh28 sed -e 's/^.*: Unknown macro //' |
29 sed -e 's/ (User error).*$//'`
35 sed -e 's/^.*: Unknown macro //' |
36 sed -e 's/ (User error).*$//'`
96 sed -e 's/^.*$/comparetest &.out &.out.new/' > $T/cmpscript
Dchecklitmushist.sh35 find litmus -type d -print | ( cd $T/results; sed -e 's/^/mkdir -p /' | sh )
40 sed -e 's/\.out$//' |
56 sed -e 's,^.*$,cp & '"$ddir"'/&.new,' | sh )
58 sed < $T/list-C-short -e 's,^,'"$LKMM_DESTDIR/"',' |
/linux-6.12.1/scripts/kconfig/
Dmerge_config.sh74 OUTPUT=$(echo $2 | sed 's/\/*$//')
140 CFG_LIST=$(sed -n -e "$SED_CONFIG_EXP1" -e "$SED_CONFIG_EXP2" $MERGE_FILE)
165 sed -i "/$CFG[ =]/d" $TMP_FILE
167 sed -i "/$CFG[ =]/d" $MERGE_FILE
203 for CFG in $(sed -n -e "$SED_CONFIG_EXP1" -e "$SED_CONFIG_EXP2" $TMP_FILE); do
/linux-6.12.1/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_args_symbol.tc34 RESULT=`grep "testprobe_str" trace | sed -e 's/.* arg1=\(.*\)/\1/'`
36 RESULT=`echo $RESULT | sed -e 's/.* \((.*)\) \((.*)\) .*/\1 \2/'`
37 ORIG=`cat /proc/version | sed -e 's/.* \((.*)\) \((.*)\) .*/\1 \2/'`
/linux-6.12.1/drivers/dma/ioat/
Dprep.c82 struct ioat_sed_ent *sed; in ioat3_alloc_sed() local
85 sed = kmem_cache_alloc(ioat_sed_cache, flags); in ioat3_alloc_sed()
86 if (!sed) in ioat3_alloc_sed()
89 sed->hw_pool = hw_pool; in ioat3_alloc_sed()
90 sed->hw = dma_pool_alloc(ioat_dma->sed_hw_pool[hw_pool], in ioat3_alloc_sed()
91 flags, &sed->dma); in ioat3_alloc_sed()
92 if (!sed->hw) { in ioat3_alloc_sed()
93 kmem_cache_free(ioat_sed_cache, sed); in ioat3_alloc_sed()
97 return sed; in ioat3_alloc_sed()
314 if (desc->sed) { in dump_pq16_desc_dbg()
[all …]
/linux-6.12.1/arch/powerpc/tools/
Dunrel_branch_check.sh16 sed -E -n '/\s+[[:alpha:]]\s+__end_interrupts\s*$/{s///p;q}')
25 sed -E -n '/\s+[[:alpha:]]\s+__start_initialization_multiplatform\s*$/{s///p;q}')
28 sed -E -n '

12345678910>>...12