Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 174) sorted by relevance

1234567

/tools/power/cpupower/bench/
Dcpufreq-bench_script.sh60 …command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_r…
63 eval "$command"
70 …command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_r…
73 eval "$command"
80 …command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_r…
83 echo "$command"
84 eval "$command"
/tools/testing/selftests/tc-testing/creating-testcases/
DAddingTestCases.txt35 name: Descriptive name that explains the command under test
41 dependsOn: Same as 'skip', but the value is executed as a command. The test
42 is skipped when the command returns non-zero.
43 category: A list of single-word descriptions covering what the command
45 setup: The list of commands required to ensure the command under test
46 succeeds. For example: if testing a filter, the command to create
49 Each command can be a string to be executed, or a list consisting
50 of a string which is a command to be executed, followed by 1 or
51 more acceptable exit codes for this command.
52 If only a string is given for the command, then an exit code of 0
[all …]
/tools/bpf/bpftool/bash-completion/
Dbpftool9 # it is not already present on the command line. Returns no value.
27 # command line, return 0. Otherwise, return 1.
40 # is already present on the command line. Returns no value.
50 command sed -n 's/.*"id": \(.*\),$/\1/p' )" -- "$cur" ) )
58 command grep -C2 "$type" | \
59 command sed -n 's/.*"id": \(.*\),$/\1/p' )" -- "$cur" ) )
65 command sed -n 's/.*"name": \(.*\),$/\1/p' )" -- "$cur" ) )
73 command grep -C2 "$type" | \
74 command sed -n 's/.*"name": \(.*\),$/\1/p' )" -- "$cur" ) )
80 command sed -n 's/.*"id": \(.*\),$/\1/p' )" -- "$cur" ) )
[all …]
/tools/usb/usbip/src/
Dutils.c18 char command[SYSFS_BUS_ID_SIZE + 4]; in modify_match_busid() local
29 cmd_size = snprintf(command, SYSFS_BUS_ID_SIZE + 4, "add %s", in modify_match_busid()
32 cmd_size = snprintf(command, SYSFS_BUS_ID_SIZE + 4, "del %s", in modify_match_busid()
35 rc = write_sysfs_attribute(match_busid_attr_path, command, in modify_match_busid()
Dusbip.c34 struct command { struct
41 static const struct command cmds[] = { argument
95 const struct command *cmd; in usbip_help()
127 static int run_command(const struct command *cmd, int argc, char *argv[]) in run_command()
/tools/testing/selftests/tc-testing/plugin-lib/
DvalgrindPlugin.py63 def adjust_command(self, stage, command): argument
64 super().adjust_command(stage, command)
69 return command
74 if not isinstance(command, list):
76 cmdlist = command.split()
78 cmdlist = command
83 format(stage, command, cmdlist))
94 command = ' '.join(cmdlist)
96 command = cmdlist
99 print('adjust_command: return command [{}]'.format(command))
[all …]
DnsPlugin.py86 def adjust_command(self, stage, command): argument
87 super().adjust_command(stage, command)
94 if not isinstance(command, list):
96 cmdlist = command.split()
98 cmdlist = command
101 …nd: stage is {}; inserting netns stuff in command [{}] list [{}]'.format(stage, command, cmdlist))
110 command = ' '.join(cmdlist)
112 command = cmdlist
115 print('adjust_command: return command [{}]'.format(command))
116 return command
[all …]
/tools/testing/kunit/test_data/
Dtest_is_test_passed-kselftest.log7 # ok 2 sys membarrier invalid command test: command = -1, flags = 0, errno = 22. Failed as expected
13 # ok 2 sys membarrier invalid command test: command = -1, flags = 0, errno = 22. Failed as expected
/tools/testing/selftests/bpf/
Dflow_dissector_load.c46 char command[64]; in detach_program() local
54 sprintf(command, "rm -r %s", cfg_pin_path); in detach_program()
55 ret = system(command); in detach_program()
57 error(1, errno, "%s", command); in detach_program()
/tools/testing/selftests/x86/bugs/
Dits_permutations.py83 command = BOOT_CMD + append variable
88 command += f" --append={param}"
89 command += f" -- {TEST}"
92 t = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
/tools/testing/selftests/hid/
Dvmtest.sh120 …command="mount bpffs -t bpf /sys/fs/bpf/; set -o pipefail ; ${command} 2>&1 | tee ${OUTPUT_DIR}/${…
123 command="mount bpffs -t bpf /sys/fs/bpf/; ${command}"
127 $b2c --command "${command}" \
240 if [[ "${command}" == "/bin/bash" || "${command}" == "bash" ]]
287 run_vm "${kernel_checkout}" $b2c "${kernel_bzimage}" "${command}"
/tools/testing/selftests/android/
DREADME7 Before the tests, you can use the following command to launch a virtual device:
10 After the tests, you can use the following command to remove the virtual device:
13 The following are command examples:
/tools/perf/Documentation/
Dperf-help.txt16 command and a list of the most commonly used perf commands are printed
22 If a perf command is named, a manual page for that command is brought
Dperf-kvm.txt22 'perf kvm [options] top <command>' to generates and displays
26 'perf kvm record <command>' to record the performance counter profile
51 'perf kvm stat <command>' to run a command and gather performance counter
55 events are supported. 'perf kvm stat record <command>' records kvm events
56 and the events between start and end <command>.
57 And this command produces a file which contains tracing results of kvm
/tools/crypto/ccp/
Ddbc_cli.py96 if args.command == "get-nonce":
102 elif args.command == "set-uid":
109 elif args.command == "get-param":
122 elif args.command == "set-param":
/tools/testing/selftests/tc-testing/creating-plugins/
DAddingPlugins.txt17 - ability to alter the command to be run in any phase:
24 - ability to add to the command line args, and use them at run time
36 def adjust_command(self, stage, command) # see "ADJUST" below
71 the execution stage and a string which is the actual command to be
72 executed. The plugin can adjust the command, based on the stage of
79 'command'
84 The adjust_command method must return the adjusted command so tdc
/tools/perf/
Dbuiltin-probe.c40 int command; /* Command short_name */ member
241 if (params->command == 'L') { in opt_show_lines()
247 params->command = opt->short_name; in opt_show_lines()
267 params->command = opt->short_name; in opt_show_vars()
279 params->command = opt->short_name; in opt_add_probe_event()
290 params->command = opt->short_name; in opt_set_filter_with_command()
358 if (params->command == 'D') { /* it shows definition */ in perf_add_probe_events()
647 if (params->command && params->command != 'a') { in __cmd_probe()
656 params->command = 'a'; in __cmd_probe()
676 if (!strchr("lda", params->command) && symbol_conf.vmlinux_name) in __cmd_probe()
[all …]
/tools/testing/selftests/alsa/
Dutimer-test.c107 char command[64]; in TEST_F() local
116 sprintf(command, "./global-timer %d %d %d", SNDRV_TIMER_GLOBAL_UDRIVEN, in TEST_F()
119 rfp = popen(command, "r"); in TEST_F()
/tools/testing/kunit/
Dkunit_kernel.py61 command = ['make', 'ARCH=' + self._linux_arch, 'O=' + build_dir, 'olddefconfig']
63 command += ['CROSS_COMPILE=' + self._cross_compile]
65 command.extend(make_options)
66 print('Populating config with:\n$', ' '.join(command))
68 subprocess.check_output(command, stderr=subprocess.STDOUT)
75 command = ['make', 'all', 'compile_commands.json', 'ARCH=' + self._linux_arch,
78 command.extend(make_options)
80 command += ['CROSS_COMPILE=' + self._cross_compile]
81 print('Building with:\n$', ' '.join(command))
83 proc = subprocess.Popen(command,
/tools/testing/selftests/tc-testing/
DTdcPlugin.py43 def adjust_command(self, stage, command): argument
63 return command
/tools/arch/x86/intel_sdsi/
Dintel_sdsi.c185 enum command { enum
529 static int sdsi_provision(struct sdsi_dev *s, char *bin_file, enum command command) in sdsi_provision() argument
549 prov_file = (command == CMD_PROV_AKC) ? akc : cap; in sdsi_provision()
765 enum command command = -1; in main() local
797 command = CMD_SOCKET_INFO; in main()
800 command = CMD_METER_CERT; in main()
803 command = CMD_METER_CURRENT_CERT; in main()
806 command = CMD_STATE_CERT; in main()
821 command = (opt == 'a') ? CMD_PROV_AKC : CMD_PROV_CAP; in main()
838 switch (command) { in main()
/tools/build/
DBuild.include39 # Echo command
61 # - command line to create object 'cmd_object :='
72 # if_changed_dep - execute command if any prerequisite is newer than
73 # target, or command line has changed and update
80 # if_changed - execute command if any prerequisite is newer than
81 # target, or command line has changed
/tools/testing/kunit/android/
DREADME6 "no trim" kernel (e.g. add `--notrim` to bazel build command).
14 Before the tests, you can use the following command to launch a virtual device:
17 After the tests, you can use the following command to remove the virtual device:
20 The following are command examples:
44 it needs to remove it first via the rmmod command, and install again
45 via the insmod command
/tools/testing/selftests/ftrace/test.d/
Dfunctions183 # Since probe event command may include backslash, explicitly use printf "%s"
185 ftrace_errlog_check() { # err-prefix command-with-error-pos-by-^ command-file
187 command=$(printf "%s" "$2" | tr -d ^)
188 echo "Test command: $command"
190 (! printf "%s" "$command" >> "$3" ) 2> /dev/null
/tools/perf/tests/attr/
Dtest-record-basic2 command = record

1234567