Home
last modified time | relevance | path

Searched refs:cut (Results 1 – 25 of 123) sorted by relevance

12345

/linux/tools/bootconfig/scripts/
H A Dftrace.sh23 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["`
24 file=`echo $line | cut -f1 -d:`
29 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["`
30 file=`echo $line | cut -f1 -d:`
45 echo 0 > `echo $line | cut -f1 -d:`
55 tr=`echo $t | cut -d: -f2`
62 name=`echo $t | cut -d: -f1 | cut -d' ' -f1`
64 tr=`echo $t | cut -d: -f2-4`
65 limit=`echo $t | cut -d: -f5`
67 tr=`echo $t | cut -d: -f2`
[all …]
H A Dxbc.sh39 grep "^$1 =" $XBC_TMPFILE | cut -d= -f2- | \
55 grep "^$1$3" $XBC_TMPFILE | cut -d= -f1| cut -d. -f$((__s + 1))-$((__s + $2)) | uniq
H A Dftrace2bconf.sh26 TRACEFS=`grep -m 1 -w tracefs /proc/mounts | cut -f 2 -d " "`
32 TRACEFS=`grep -m 1 -w debugfs /proc/mounts | cut -f 2 -d " "`/tracing
/linux/tools/testing/selftests/lkdtm/
H A Drun.sh41 test=$(echo "$line" | cut -d" " -f1)
43 expect=$(echo "$line" | cut -d" " -f2-)
50 test=$(echo "$test" | cut -c2-)
64 repeat=$(echo "$expect" | cut -d' ' -f1 | cut -d: -f2)
65 expect=$(echo "$expect" | cut -d' ' -f2-)
/linux/arch/powerpc/tools/
H A Dhead_check.sh52 vma=$(grep -e " [TA] _stext$" .tmp_symbols.txt | cut -d' ' -f1)
56 start_head_addr=$(grep " t start_first_256B$" .tmp_symbols.txt | cut -d' ' -f1)
66 top_vma=$(echo "$vma" | cut -d'0' -f1)
68 expected_start_text_addr=$(grep " a text_start$" .tmp_symbols.txt | cut -d' ' -f1 | sed "s/^0/$top_…
70 start_text_addr=$(grep " t start_text$" .tmp_symbols.txt | cut -d' ' -f1)
/linux/tools/testing/selftests/ftrace/test.d/kprobe/
H A Dkprobe_eventname.tc8 FUNC=`grep " [tT] .*vfs_read$" /proc/kallsyms | tail -n 1 | cut -f 3 -d " "`
28 grep -m 10 " [tT] .*\.isra\..*$" /proc/kallsyms | tail -n 1 | cut -f 3 -d " "
32 grep " [tT] .*\.isra\..*" /proc/kallsyms | cut -f 3 -d " " | while read f; do
44 EVENT=`grep $FUNC kprobe_events | cut -f 1 -d " " | cut -f 2 -d:`
/linux/tools/testing/selftests/ftrace/test.d/
H A Dfunctions21 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["`
22 file=`echo $line | cut -f1 -d:`
27 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["`
28 file=`echo $line | cut -f1 -d:`
43 echo 0 > `echo $line | cut -f1 -d:`
53 tr=`echo $t | cut -d: -f2`
60 name=`echo $t | cut -d: -f1 | cut -d' ' -f1`
62 tr=`echo $t | cut -d: -f2-4`
63 limit=`echo $t | cut -d: -f5`
65 tr=`echo $t | cut -d: -f2`
[all …]
/linux/scripts/
H A DLindent6 RES=`indent --version | cut -d' ' -f3`
10 V1=`echo $RES | cut -d'.' -f1`
11 V2=`echo $RES | cut -d'.' -f2`
12 V3=`echo $RES | cut -d'.' -f3`
/linux/tools/testing/selftests/
H A Dkselftest_deps.sh93 targets=$(grep -E "^TARGETS +|^TARGETS =" Makefile | cut -d "=" -f2)
210 sed -e 's/+/ /' | cut -d "=" -f 2)
221 cut -d "=" -f 2)
230 sed -e 's/+/ /' | cut -d "=" -f 2)
249 cut -d "=" -f 2)
270 fail_target=$(echo "$test" | cut -d "/" -f1)
/linux/tools/leds/
H A Dget_led_device_info.sh50 usb_interface=`readlink $led_cdev_path | sed s'/.*\(usb[0-9]*\)/\1/' | cut -d\/ -f3`
122 color=`echo $led_name | cut -d: -f1`
123 function=`echo $led_name | cut -d: -f2`
125 devicename=`echo $led_name | cut -d: -f1`
126 color=`echo $led_name | cut -d: -f2`
127 function=`echo $led_name | cut -d: -f3`
/linux/tools/testing/selftests/drivers/net/hw/
H A Dethtool_extended_state.sh31 | cut -d "(" -f2 | cut -d ")" -f1)
32 local ext_substate=$(echo $ext_state | cut -sd "," -f2 \
34 ext_state=$(echo $ext_state | cut -d "," -f1)
/linux/tools/testing/selftests/kselftest/
H A Drunner.sh90 field=$(echo "$line" | cut -d= -f1)
91 value=$(echo "$line" | cut -d= -f2-)
121 if [ $(head -n 1 "$TEST" | cut -c -2) = "#!" ]
123 interpreter=$(head -n 1 "$TEST" | cut -c 3-)
/linux/tools/lib/bpf/
H A DMakefile10 sort -rV | head -n1 | cut -d'_' -f2)
118 cut -d "@" -f1 | sed 's/_v[0-9]_[0-9]_[0-9].*//' | \
125 grep -Eo '[^ ]+@LIBBPF_' | cut -d@ -f1 | sort -u | wc -l)
186 cut -d "@" -f1 | sed 's/_v[0-9]_[0-9]_[0-9].*//' | \
193 grep -Eo '[^ ]+@LIBBPF_' | cut -d@ -f1 | \
202 …(shell grep -oE '^$(pound)define LIBBPF_MAJOR_VERSION ([0-9]+)$$' libbpf_version.h | cut -d' ' -f3)
203 …(shell grep -oE '^$(pound)define LIBBPF_MINOR_VERSION ([0-9]+)$$' libbpf_version.h | cut -d' ' -f3)
/linux/lib/
H A Dstring_helpers_kunit.c482 static void __strchrcut(char *dst, const char *src, const char *cut) in __strchrcut() argument
488 len = strcspn(from, cut); in __strchrcut()
501 const char *cut) in __test_string_get_size_one() argument
510 sprintf(prefix10, "STRING_UNITS_10 [%s]", cut); in __test_string_get_size_one()
511 sprintf(prefix2, "STRING_UNITS_2 [%s]", cut); in __test_string_get_size_one()
513 __strchrcut(exp10, exp_result10, cut); in __test_string_get_size_one()
514 __strchrcut(exp2, exp_result2, cut); in __test_string_get_size_one()
530 const char *cut; in __test_string_get_size() member
543 get_size_test_cases[i].cut); in __test_string_get_size()
/linux/samples/pktgen/
H A Dfunctions.sh151 irqs=$(grep "$queues" /proc/interrupts | cut -f1 -d:)
152 [ -z "$irqs" ] && irqs=$(grep $IFACE /proc/interrupts | cut -f1 -d:)
154 do grep "$i:.*TxRx" /proc/interrupts | grep -v fdir | cut -f 1 -d : ;\
166 local node_cpu_range_list=`cut -f1- -d, --output-delimiter=" " \
/linux/tools/testing/selftests/bpf/benchs/
H A Drun_bench_rename.sh7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
H A Drun_bench_uprobes.sh7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
H A Drun_bench_trigger.sh21 summary=$(sudo ./bench -w2 -d5 -a -p$p trig-$t | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
/linux/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_set_ftrace_file.tc125 cat set_ftrace_filter | grep -v '#' | cut -d' ' -f1 | cut -d':' -f1 | sort -u > $TMPDIR/actual
131 cat available_filter_functions | cut -d' ' -f1 | grep 'lock' | sort -u > $TMPDIR/expected
H A Dfunc-filter-glob.tc13 cut -f1 -d" " set_ftrace_filter > $TMPDIR/actual
14 cut -f1 -d" " available_filter_functions | grep "$2" > $TMPDIR/expected
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dpci_reset.sh21 local bus=$(echo $DEVLINK_DEV | cut -d '/' -f 1)
22 local bdf=$(echo $DEVLINK_DEV | cut -d '/' -f 2)
/linux/drivers/staging/axis-fifo/
H A Daxis-fifo.txt13 - cut-through mode
50 - xlnx,use-rx-cut-through: Should be <0x0> (this feature isn't supported)
53 - xlnx,use-tx-cut-through: Should be <0x0> (this feature isn't supported)
88 xlnx,use-rx-cut-through = <0x0>;
91 xlnx,use-tx-cut-through = <0x0>;
/linux/tools/testing/selftests/pstore/
H A Dpstore_post_reboot_tests25 mount_point=`echo ${mount_info} | cut -d' ' -f2 | head -n1`
30 mount_point=`grep pstore /proc/mounts | cut -d' ' -f2 | head -n1`
/linux/drivers/net/ethernet/engleder/
H A Dtsnep_tc.c93 u64 cut; in tsnep_write_gcl() local
123 cut = 0; in tsnep_write_gcl()
125 cut = max(cut, tsnep_change_duration(gcl, i)); in tsnep_write_gcl()
130 gcl->change_limit = max(extend, cut); in tsnep_write_gcl()
/linux/tools/testing/selftests/ftrace/
H A Dftracetest161 TRACING_DIR=`grep tracefs /proc/mounts | cut -f2 -d' ' | head -1`
163 DEBUGFS_DIR=`grep debugfs /proc/mounts | cut -f2 -d' ' | head -1`
295 CASENAME=`grep "^#[ \t]*description:" $1 | cut -f2- -d:`
299 requires=`grep "^#[ \t]*requires:" $1 | cut -f2- -d:`

12345