Home
last modified time | relevance | path

Searched refs:system (Results 1 – 25 of 189) sorted by relevance

12345678

/tools/tracing/rtla/src/
Dtrace.c224 free(free_event->system); in trace_events_free()
240 tevent->system = strdup(event_string); in trace_event_alloc()
241 if (!tevent->system) { in trace_event_alloc()
246 tevent->event = strstr(tevent->system, ":"); in trace_event_alloc()
300 debug_msg("Disabling %s:%s filter %s\n", tevent->system, in trace_event_disable_filter()
305 retval = tracefs_event_file_write(instance->inst, tevent->system, in trace_event_disable_filter()
308 err_msg("Error disabling %s:%s filter %s\n", tevent->system, in trace_event_disable_filter()
337 snprintf(path, 1024, "%s_%s_hist.txt", tevent->system, tevent->event); in trace_event_save_hist()
339 printf(" Saving event %s:%s hist to %s\n", tevent->system, tevent->event, path); in trace_event_save_hist()
347 hist = tracefs_event_file_read(instance->inst, tevent->system, tevent->event, "hist", 0); in trace_event_save_hist()
[all …]
/tools/testing/selftests/bpf/prog_tests/
Dxdp_bonding.c201 ASSERT_OK(system("ip link delete bond1"), "delete bond1"); in bonding_cleanup()
202 ASSERT_OK(system("ip link delete veth1_1"), "delete veth1_1"); in bonding_cleanup()
203 ASSERT_OK(system("ip link delete veth1_2"), "delete veth1_2"); in bonding_cleanup()
204 ASSERT_OK(system("ip netns delete ns_dst"), "delete ns_dst"); in bonding_cleanup()
386 if (!ASSERT_OK(system("ip link add veth type veth"), "add veth")) in test_xdp_bonding_attach()
388 if (!ASSERT_OK(system("ip link add bond type bond"), "add bond")) in test_xdp_bonding_attach()
403 err = system("ip link set veth master bond"); in test_xdp_bonding_attach()
437 if (!ASSERT_OK(system("ip link add vxlan type vxlan id 1 remote 1.2.3.4 dstport 0 dev lo"), 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()
[all …]
Dcgroup_attach_override.c51 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()
Dbuild_id.c52 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()
Dsk_assign.c54 if (CHECK_FAIL(system("ip link set dev lo up"))) in configure_stack()
56 if (CHECK_FAIL(system("ip route add local default dev lo"))) in configure_stack()
58 if (CHECK_FAIL(system("ip -6 route add local default dev lo"))) in configure_stack()
62 if (CHECK_FAIL(system("tc qdisc add dev lo clsact"))) in configure_stack()
68 if (CHECK(system(tc_cmd), "BPF load failed;", in configure_stack()
Dtest_local_storage.c121 if (!ASSERT_OK(system(cmd), "system(cp)")) in test_test_local_storage()
149 if (!ASSERT_OK(system(cmd), "system(mv)")) in test_test_local_storage()
166 system(cmd); in test_test_local_storage()
Dconnect_ping.c117 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/
Dcpu-on-off-test.sh27 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/
Dtests.txt2 #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/
Dchange_skew.c47 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()
Dset-2038.c66 ret = system("date"); in do_tests()
67 ret = system("./inconsistency-check -c 0 -t 20"); in do_tests()
68 ret |= system("./nanosleep"); in do_tests()
69 ret |= system("./nsleep-lat"); in do_tests()
/tools/power/cpupower/bench/
Dcpufreq-bench_script.sh30 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)
DMakefile16 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/
Dmem-on-off-test.sh25 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/
DREADME1 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/
Dset_sysctls.py36 os.system(cmd)
38 os.system('chmod u+x %s' % filename)
/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_hotplug.tc8 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/
Devent-no-pid.tc35 system=$1
37 if [ -d events/$system ]; then
38 echo 1 > events/$system/enable
/tools/testing/selftests/cgroup/
Dtest_cpuset_v1_hp.sh36 echo 0 > /sys/devices/system/cpu/cpu1/online
38 echo 1 > /sys/devices/system/cpu/cpu1/online
/tools/bpf/bpftool/Documentation/
Dbpftool-struct_ops.rst40 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.
Dbpftool.rst56 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/
Dtest_tcpnotify_user.c127 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/
Djitter.sh31 for i in /sys/devices/system/cpu/cpu[0-9]*
58 if cpus=`grep 1 /sys/devices/system/cpu/*/online 2>&1 |
/tools/perf/tests/shell/lib/
Dstat_output.sh28 commachecker --system-wide
41 commachecker --system-wide-no-aggr
/tools/perf/util/
Dtrace-event-info.c37 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()

12345678