Home
last modified time | relevance | path

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

12345678

/tools/power/cpupower/bench/
A 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/bpf/bpftool/bash-completion/
A Dbpftool166 local command="$1"
178 case "$command" in
212 local command="$1"
224 case "$command" in
328 local command=${words[2]}
339 case $command in
356 case $command in
605 case $command in
632 case $command in
664 case $command in
[all …]
/tools/testing/selftests/tc-testing/creating-testcases/
A DAddingTestCases.txt35 name: Descriptive name that explains the command under test
42 is skipped when the command returns non-zero.
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.
54 cmdUnderTest: The tc command being tested itself.
57 verifyCmd: The tc command to be run to verify successful execution.
71 of a string which is a command to be executed, followed by 1 or
72 more acceptable exit codes for this command.
91 individual command into a list, with the command being first, followed by all
[all …]
/tools/usb/usbip/src/
A 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()
A 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/
A 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 …]
A 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
110 command = ' '.join(cmdlist)
112 command = cmdlist
116 return command
221 def _exec_cmd(self, stage, command): argument
228 print('_exec_cmd: command "{}"'.format(command))
[all …]
/tools/testing/kunit/test_data/
A 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/
A 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/tracing/rtla/src/
A Dactions.c37 free(action->command); in actions_destroy()
98 actions_add_shell(struct actions *self, const char *command) in actions_add_shell() argument
104 action->command = calloc(strlen(command) + 1, sizeof(char)); in actions_add_shell()
105 if (!action->command) in actions_add_shell()
107 strcpy(action->command, command); in actions_add_shell()
247 retval = system(action->command); in actions_perform()
A Dactions.h28 char *command; member
49 int actions_add_shell(struct actions *self, const char *command);
/tools/testing/selftests/x86/bugs/
A 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/
A 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/perf/Documentation/
A 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
A 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/
A 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/
A 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/
A 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/
A 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/
A Dkunit_kernel.py62 command = ['make', 'ARCH=' + self._linux_arch, 'O=' + build_dir, 'olddefconfig']
64 command += ['CROSS_COMPILE=' + self._cross_compile]
66 command.extend(make_options)
67 print('Populating config with:\n$', ' '.join(command))
69 subprocess.check_output(command, stderr=subprocess.STDOUT)
76 command = ['make', 'all', 'compile_commands.json', 'scripts_gdb',
79 command.extend(make_options)
81 command += ['CROSS_COMPILE=' + self._cross_compile]
82 print('Building with:\n$', ' '.join(command))
84 proc = subprocess.Popen(command,
/tools/testing/selftests/tc-testing/
A DTdcPlugin.py43 def adjust_command(self, stage, command): argument
63 return command
/tools/arch/x86/intel_sdsi/
A 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/
A DBuild.include41 # Echo command
63 # - command line to create object 'cmd_object :='
74 # if_changed_dep - execute command if any prerequisite is newer than
75 # target, or command line has changed and update
82 # if_changed - execute command if any prerequisite is newer than
83 # target, or command line has changed
/tools/power/cpupower/
A DREADME40 The output directory for the 'make' command is the current directory and
49 'make install' command puts targets to default system dirs:
73 There are 2 make's command-line variables 'O' and 'DESTDIR' that setup
144 Use 'O' command line variable to remove previously built files from the
151 Use 'DESTDIR' command line variable to uninstall previously installed files
173 issuing the following command:
194 command:
200 and then issue the following command:
/tools/testing/selftests/ftrace/test.d/
A Dfunctions189 # Since probe event command may include backslash, explicitly use printf "%s"
191 ftrace_errlog_check() { # err-prefix command-with-error-pos-by-^ command-file
193 command=$(printf "%s" "$2" | tr -d ^)
194 echo "Test command: $command"
196 (! printf "%s" "$command" >> "$3" ) 2> /dev/null

Completed in 27 milliseconds

12345678