Home
last modified time | relevance | path

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

1234567891011

/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/tools/testing/selftests/amd-pstate/
Dgitsource.sh38 sed -i '/Comprison(%)/d' $OUTFILE_GIT.csv
39 sed -i "/$(scaling_name)/d" $OUTFILE_GIT.csv
99 …awk '{print $5}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-d…
103 …awk '{print $7}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-f…
107 …awk '{print $11}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-…
111 …grep user $OUTFILE_GIT.time-gitsource-$1-$2.log | awk '{print $1}' | sed -e 's/user//' > $OUTFILE_…
204 des_perf_base=`echo "$base" | awk '{print $3}' | sed s/,//`
205 freq_base=`echo "$base" | awk '{print $4}' | sed s/,//`
206 load_base=`echo "$base" | awk '{print $5}' | sed s/,//`
207 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-v6.6/tools/testing/selftests/net/mptcp/
Duserspace_pm.sh250 client_token=$(sed --unbuffered -n 's/.*\(token:\)\([[:digit:]]*\).*$/\2/p;q' "$client_evts")
251 client_port=$(sed --unbuffered -n 's/.*\(sport:\)\([[:digit:]]*\).*$/\2/p;q' "$client_evts")
252 client_serverside=$(sed --unbuffered -n 's/.*\(server_side:\)\([[:digit:]]*\).*$/\2/p;q'\
255 sed --unbuffered -n 's/.*\(token:\)\([[:digit:]]*\).*$/\2/p;q')
257 sed --unbuffered -n 's/.*\(server_side:\)\([[:digit:]]*\).*$/\2/p;q')
343 type=$(sed --unbuffered -n 's/.*\(type:\)\([[:digit:]]*\).*$/\2/p;q' "$evt")
344 token=$(sed --unbuffered -n 's/.*\(token:\)\([[:digit:]]*\).*$/\2/p;q' "$evt")
347 addr=$(sed --unbuffered -n 's/.*\(daddr6:\)\([0-9a-f:.]*\).*$/\2/p;q' "$evt")
349 addr=$(sed --unbuffered -n 's/.*\(daddr4:\)\([0-9.]*\).*$/\2/p;q' "$evt")
351 dport=$(sed --unbuffered -n 's/.*\(dport:\)\([[:digit:]]*\).*$/\2/p;q' "$evt")
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/scripts/
Dfaddr2line77 local start_kernel_addr=$(${READELF} --symbols --wide $objfile | sed 's/\[.*\]//' |
134 sed 's/\[ /\[/' |
145 sed 's/\[ /\[/' |
182 …done < <(${READELF} --symbols --wide $objfile | sed 's/\[.*\]//' | ${AWK} -v sec=$sym_sec '$7 == s…
236 local output=$(${ADDR2LINE} $args $addr | sed "s; $dir_prefix\(\./\)*; ;")
254 n=$(echo $line | sed 's/.*:\([0-9]\+\).*/\1/g')
257 f=$(echo $line | sed 's/.*at \(.\+\):.*/\1/g')
263 …done < <(${READELF} --symbols --wide $objfile | sed 's/\[.*\]//' | ${AWK} -v fn=$sym_name '$4 == "…
Dgfp-translate68 …grep "^#define ___GFP" $SOURCE/include/linux/gfp_types.h | sed -e 's/u$//' | grep -v GFP_BITS > $T…
70 …FP" $SOURCE/include/linux/gfp_types.h | sed -e 's/(__force gfp_t)//' | sed -e 's/u)/)/' | grep -v …
Ddecodecode56 code=`echo $code | sed -e 's/.*Code: //'`
172 all_code=$(echo $all_code | sed -e 's/[<>()]//g')
196 all_code=$(echo $all_code | sed -e "s!^.\{$del_chars\}!!")
221 echo $beforemark | sed -e 's/ /,0x/g; s/[<>()]//g' >> $T.s
238 code=`echo $code | sed -e 's/\r//;s/ [<(]/ /;s/[>)] / /;s/ /,0x/g; s/[>)]$//'`
244 cat $T.oo | sed -e "${faultlinenum}s/^\([^:]*:\)\(.*\)/\1\*\2\t\t<-- trapping instruction/"
/Linux-v6.6/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/…
Dfunctions.sh62 nr_cpus="`echo "${bootargs}" | sed -e 's/^.*nr_cpus=\([0-9]*\).*$/\1/'`"
87 maxcpus="`echo "${bootargs}" | sed -e 's/^.*maxcpus=\([0-9]*\).*$/\1/'`"
310 nt="`lscpu | sed -n 's/^Thread(s) per core:\s*//p'`"
/Linux-v6.6/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-v6.6/tools/memory-model/scripts/
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/"',' |
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
/Linux-v6.6/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
201 for CFG in $(sed -n -e "$SED_CONFIG_EXP1" -e "$SED_CONFIG_EXP2" $TMP_FILE); do
/Linux-v6.6/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-v6.6/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-v6.6/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 '

1234567891011