Home
last modified time | relevance | path

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

1234

/tools/bootconfig/scripts/
A Dftrace.sh24 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["`
25 file=`echo $line | cut -f1 -d:`
30 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["`
31 file=`echo $line | cut -f1 -d:`
46 echo 0 > `echo $line | cut -f1 -d:`
56 tr=`echo $t | cut -d: -f2`
63 name=`echo $t | cut -d: -f1 | cut -d' ' -f1`
65 tr=`echo $t | cut -d: -f2-4`
66 limit=`echo $t | cut -d: -f5`
68 tr=`echo $t | cut -d: -f2`
[all …]
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
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
/tools/testing/selftests/ftrace/test.d/kprobe/
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:`
/tools/testing/selftests/lkdtm/
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-)
/tools/testing/selftests/
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)
/tools/testing/selftests/ftrace/test.d/
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 …]
/tools/leds/
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`
/tools/tracing/rtla/tests/scripts/
A Dcheck-priority.sh6 chrt -p $pid | cut -d ':' -f 2 | head -n1 | grep "^ $2\$" >/dev/null
7 chrt -p $pid | cut -d ':' -f 2 | tail -n1 | grep "^ $3\$" >/dev/null
/tools/testing/selftests/drivers/net/hw/
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)
/tools/testing/selftests/bpf/benchs/
A Drun_bench_rename.sh7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
A Drun_bench_uprobes.sh7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
A Drun_bench_trigger.sh21 summary=$(sudo ./bench -w2 -d5 -a -p$p trig-$t | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
/tools/testing/selftests/ftrace/test.d/ftrace/
A Dfunc-filter-glob.tc13 cut -f1 -d" " set_ftrace_filter > $TMPDIR/actual
14 cut -f1 -d" " available_filter_functions | grep "$2" > $TMPDIR/expected
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
/tools/testing/selftests/kselftest/
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-)
/tools/testing/selftests/mm/
A Dva_high_addr_switch.sh27 local pg_table_levels=$(gzip -dcfq "${config}" | grep PGTABLE_LEVELS | cut -d'=' -f 2)
45 local pg_table_levels=$(gzip -dcfq "${config}" | grep PGTABLE_LEVELS | cut -d'=' -f 2)
/tools/perf/tests/shell/
A Dstat_bpf_counters_cgrp.sh34 find_cgroups_self_cgrp=$(grep perf_event /proc/self/cgroup | cut -d: -f3)
37 find_cgroups_self_cgrp=$(grep ^0: /proc/self/cgroup | cut -d: -f3)
/tools/testing/selftests/drivers/net/mlxsw/
A Dpci_reset.sh21 local bus=$(echo $DEVLINK_DEV | cut -d '/' -f 1)
22 local bdf=$(echo $DEVLINK_DEV | cut -d '/' -f 2)
/tools/testing/selftests/pstore/
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`
/tools/lib/bpf/
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)
/tools/testing/selftests/drivers/net/
A Dnetcons_fragmented_msg.sh38 REGEX=$(echo "${HEADER}" | cut -d'=' -f1)
48 HEADER=$(sed -n '1p' "${MSGFILE}" | cut -d';' -f1)
/tools/tracing/rtla/tests/
A Dengine.sh96 option=$(echo $1 | cut -d '=' -f 1)
97 value=$(echo $1 | cut -d '=' -f 2)
/tools/testing/selftests/ftrace/test.d/00basic/
A Dtest_ownership.tc14 other_group=`tac /etc/group | grep -v ":$original_group:" | head -1 | cut -d: -f3`
15 other_owner=`tac /etc/passwd | grep -v ":$original_owner:" | head -1 | cut -d: -f3`
/tools/testing/selftests/gpio/
A Dgpio-aggregator.sh660 CHIP=$(echo "$SETTING" | cut -d: -f1)
661 BANK=$(echo "$SETTING" | cut -d: -f2)
662 LINE=$(echo "$SETTING" | cut -d: -f3)
678 CHIP=$(echo "$SETTING" | cut -d: -f1)
679 BANK=$(echo "$SETTING" | cut -d: -f2)
680 LINE=$(echo "$SETTING" | cut -d: -f3)
698 CHIP=$(echo "$SETTING" | cut -d: -f1)
699 BANK=$(echo "$SETTING" | cut -d: -f2)
700 LINE=$(echo "$SETTING" | cut -d: -f3)

Completed in 27 milliseconds

1234