| /tools/tracing/rtla/src/ |
| A D | trace.c | 266 free(free_event->system); in trace_events_free() 282 tevent->system = strdup(event_string); in trace_event_alloc() 283 if (!tevent->system) { in trace_event_alloc() 288 tevent->event = strstr(tevent->system, ":"); in trace_event_alloc() 342 debug_msg("Disabling %s:%s filter %s\n", tevent->system, in trace_event_disable_filter() 420 debug_msg("Disabling %s:%s trigger %s\n", tevent->system, in trace_event_disable_trigger() 472 tevent->filter, tevent->system); in trace_event_enable_filter() 478 debug_msg("Enabling %s:%s filter %s\n", tevent->system, in trace_event_enable_filter() 507 tevent->trigger, tevent->system); in trace_event_enable_trigger() 513 debug_msg("Enabling %s:%s trigger %s\n", tevent->system, in trace_event_enable_trigger() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | xdp_bonding.c | 403 err = system("ip link set veth master bond"); in test_xdp_bonding_attach() 441 err = system("ip link set vxlan master bond"); in test_xdp_bonding_attach() 454 system("ip link del veth"); in test_xdp_bonding_attach() 455 system("ip link del bond"); in test_xdp_bonding_attach() 456 system("ip link del vxlan"); in test_xdp_bonding_attach() 491 system("ip link del bond"); in test_xdp_bonding_nested() 492 system("ip link del bond_nest1"); in test_xdp_bonding_nested() 493 system("ip link del bond_nest2"); in test_xdp_bonding_nested() 608 system("ip link del veth0"); in test_xdp_bonding_features() 609 system("ip link del veth2"); in test_xdp_bonding_features() [all …]
|
| A D | cgroup_attach_override.c | 51 if (CHECK(!system(PING_CMD), "ping_fail", in serial_test_cgroup_attach_override() 59 if (CHECK(!system(PING_CMD), "ping_fail", in serial_test_cgroup_attach_override() 69 if (CHECK(system(PING_CMD), "ping_ok", "ping failed\n")) in serial_test_cgroup_attach_override() 77 if (CHECK(!system(PING_CMD), "ping_fail", in serial_test_cgroup_attach_override() 92 if (CHECK(system(PING_CMD), "ping_ok", "ping failed\n")) in serial_test_cgroup_attach_override()
|
| A D | build_id.c | 52 ASSERT_OK(system("./uprobe_multi uprobe-paged-in"), "trigger_uprobe"); in subtest_nofault() 54 ASSERT_OK(system("./uprobe_multi uprobe-paged-out"), "trigger_uprobe"); in subtest_nofault() 90 ASSERT_OK(system("./uprobe_multi uprobe-paged-out"), "trigger_uprobe"); in subtest_sleepable()
|
| A D | sk_assign.c | 56 if (CHECK_FAIL(system("ip link set dev lo up"))) in configure_stack() 58 if (CHECK_FAIL(system("ip route add local default dev lo"))) in configure_stack() 60 if (CHECK_FAIL(system("ip -6 route add local default dev lo"))) in configure_stack() 64 if (CHECK_FAIL(system("tc qdisc add dev lo clsact"))) in configure_stack() 70 if (CHECK(system(tc_cmd), "BPF load failed;", in configure_stack()
|
| A D | connect_ping.c | 117 if (!ASSERT_OK(system("ip link set dev lo up"), "lo-up")) in test_connect_ping() 119 if (!ASSERT_OK(system("ip addr add 1.1.1.1 dev lo"), "lo-addr-v4")) in test_connect_ping() 121 if (!ASSERT_OK(system("ip -6 addr add 2001:db8::1 dev lo"), "lo-addr-v6")) in test_connect_ping()
|
| /tools/testing/selftests/cpu-hotplug/ |
| A D | cpu-on-off-test.sh | 27 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then 33 online_cpus=`cat $SYSFS/devices/system/cpu/online` 41 present_cpus=`cat $SYSFS/devices/system/cpu/present` 47 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 63 for cpu in $SYSFS/devices/system/cpu/cpu*; do 82 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online 87 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online 92 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online 97 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
|
| /tools/testing/selftests/lkdtm/ |
| A D | tests.txt | 2 #PANIC_STOP_IRQOFF Crashes entire system 7 #LOOP Hangs the system 9 #CORRUPT_STACK Crashes entire system on success 10 #CORRUPT_STACK_STRONG Crashes entire system on success 32 #SOFTLOCKUP Hangs the system 33 #HARDLOCKUP Hangs the system 34 #SMP_CALL_LOCKUP Hangs the system 35 #SPINLOCKUP Hangs the system 36 #HUNG_TASK Hangs the system
|
| /tools/testing/selftests/timers/ |
| A D | change_skew.c | 47 ret = system("./raw_skew"); in change_skew_test() 48 ret |= system("./inconsistency-check"); in change_skew_test() 49 ret |= system("./nanosleep"); in change_skew_test() 63 ret = system("killall -9 ntpd"); in main()
|
| A D | set-2038.c | 65 ret = system("date"); in do_tests() 66 ret = system("./inconsistency-check -c 0 -t 20"); in do_tests() 67 ret |= system("./nanosleep"); in do_tests() 68 ret |= system("./nsleep-lat"); in do_tests()
|
| /tools/power/cpupower/bench/ |
| A D | cpufreq-bench_script.sh | 30 echo $up_threshold >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold 31 echo $sampling_rate >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate 32 up_threshold_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold) 33 sampling_rate_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate)
|
| A D | Makefile | 16 OBJS = $(OUTPUT)main.o $(OUTPUT)parse.o $(OUTPUT)system.o $(OUTPUT)benchmark.o \ 20 OBJS = $(OUTPUT)main.o $(OUTPUT)parse.o $(OUTPUT)system.o $(OUTPUT)benchmark.o
|
| /tools/testing/selftests/memory-hotplug/ |
| A D | mem-on-off-test.sh | 25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then 30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then 43 for memory in $SYSFS/devices/system/memory/memory*; do 63 grep -q online $SYSFS/devices/system/memory/memory$1/state 68 grep -q offline $SYSFS/devices/system/memory/memory$1/state 73 echo online > $SYSFS/devices/system/memory/memory$1/state 78 echo offline > $SYSFS/devices/system/memory/memory$1/state
|
| /tools/testing/selftests/resctrl/ |
| A D | README | 1 resctrl_tests - resctrl file system test suit 30 system and change contents in the file system. 51 system and change contents in the file system. 61 - setup: mount resctrl file system, create group, setup schemata, move test
|
| /tools/testing/selftests/net/packetdrill/ |
| A D | set_sysctls.py | 36 os.system(cmd) 38 os.system('chmod u+x %s' % filename)
|
| /tools/testing/selftests/ftrace/test.d/ftrace/ |
| A D | func_hotplug.tc | 8 ls -d /sys/devices/system/cpu/cpu[0-9]* | wc -l 20 for i in /sys/devices/system/cpu/cpu[1-9]*; do
|
| /tools/testing/selftests/ftrace/test.d/event/ |
| A D | event-no-pid.tc | 35 system=$1 37 if [ -d events/$system ]; then 38 echo 1 > events/$system/enable
|
| A D | event-mod.tc | 87 echo now enable the system events 111 echo Append another using the system and event name 140 echo Enable just the system events 156 echo Enable another event with both system and event name
|
| /tools/testing/selftests/cgroup/ |
| A D | test_cpuset_v1_hp.sh | 36 echo 0 > /sys/devices/system/cpu/cpu1/online 38 echo 1 > /sys/devices/system/cpu/cpu1/online
|
| /tools/testing/selftests/net/ |
| A D | nl_netdev.py | 5 from os import system 85 system(f"echo 1 > /sys/class/net/{nsim.ifname}/threaded") 96 system(f"echo 0 > /sys/class/net/{nsim.ifname}/threaded") 113 system(f"echo 0 > /sys/class/net/{nsim.ifname}/threaded") 140 system(f"echo 1 > /sys/class/net/{nsim.ifname}/threaded") 151 system(f"echo 0 > /sys/class/net/{nsim.ifname}/threaded")
|
| /tools/bpf/bpftool/Documentation/ |
| A D | bpftool-struct_ops.rst | 40 Show brief information about the struct_ops in the system. If 43 system. 49 Dump details information about the struct_ops in the system. If 52 system.
|
| A D | bpftool.rst | 56 system. 69 Do not automatically attempt to mount any virtual file system (such as 70 tracefs or BPF virtual file system) when necessary.
|
| /tools/testing/selftests/bpf/ |
| A D | test_tcpnotify_user.c | 127 if (system(test_script)) { in main() 135 if (system(test_script)) in main() 141 if (system(test_script)) { in main()
|
| /tools/testing/selftests/rcutorture/bin/ |
| A D | jitter.sh | 31 for i in /sys/devices/system/cpu/cpu[0-9]* 58 if cpus=`grep 1 /sys/devices/system/cpu/*/online 2>&1 |
|
| /tools/perf/util/ |
| A D | trace-event-info.c | 37 char *system; member 245 if (!strcmp(sys, tps->system)) in system_in_tp_list() 399 zfree(&t->system); in put_tracepoints_path() 447 if (asprintf(&path->system, "%.*s", in tracepoint_id_to_path() 454 zfree(&path->system); in tracepoint_id_to_path() 475 if (path && asprintf(&buf, "%s:%s", path->system, path->name) < 0) in tracepoint_id_to_name() 492 path->system = strndup(name, str - name); in tracepoint_name_to_path() 495 if (path->system == NULL || path->name == NULL) { in tracepoint_name_to_path() 496 zfree(&path->system); in tracepoint_name_to_path()
|