Home
last modified time | relevance | path

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

123456

/tools/testing/selftests/tc-testing/plugin-lib/
DnsPlugin.py45 def adjust_command(self, stage, command): argument
46 super().adjust_command(stage, command)
51 return command
56 if not isinstance(command, list):
58 cmdlist = command.split()
60 cmdlist = command
63 …nd: stage is {}; inserting netns stuff in command [{}] list [{}]'.format(stage, command, cmdlist))
72 command = ' '.join(cmdlist)
74 command = cmdlist
77 print('adjust_command: return command [{}]'.format(command))
[all …]
DvalgrindPlugin.py62 def adjust_command(self, stage, command): argument
63 super().adjust_command(stage, command)
68 return command
73 if not isinstance(command, list):
75 cmdlist = command.split()
77 cmdlist = command
82 format(stage, command, cmdlist))
93 command = ' '.join(cmdlist)
95 command = cmdlist
98 print('adjust_command: return command [{}]'.format(command))
[all …]
DbuildebpfPlugin.py52 command = 'make -C {} {}'.format(self.args.NAMES['EBPFDIR'], target)
53 proc = subprocess.Popen(command,
/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/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/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/testing/selftests/tc-testing/creating-testcases/
DAddingTestCases.txt35 name: Descriptive name that explains the command under test
41 category: A list of single-word descriptions covering what the command
43 setup: The list of commands required to ensure the command under test
44 succeeds. For example: if testing a filter, the command to create
47 Each command can be a string to be executed, or a list consisting
48 of a string which is a command to be executed, followed by 1 or
49 more acceptable exit codes for this command.
50 If only a string is given for the command, then an exit code of 0
52 cmdUnderTest: The tc command being tested itself.
53 expExitCode: The code returned by the command under test upon its termination.
[all …]
/tools/testing/kunit/
Dkunit_kernel.py46 command = ['make', 'ARCH=um', 'olddefconfig']
48 command.extend(make_options)
50 command += ['O=' + build_dir]
52 subprocess.check_output(command, stderr=subprocess.STDOUT)
61 command = ['make', 'ARCH=um', 'allyesconfig']
63 command.extend(make_options)
65 command += ['O=' + build_dir]
67 command,
81 command = ['make', 'ARCH=um', '--jobs=' + str(jobs)]
83 command.extend(make_options)
[all …]
/tools/testing/selftests/bpf/
Dflow_dissector_load.c44 char command[64]; in detach_program() local
52 sprintf(command, "rm -r %s", cfg_pin_path); in detach_program()
53 ret = system(command); in detach_program()
55 error(1, errno, "%s", command); in detach_program()
/tools/perf/Documentation/
Dperf-lock.txt16 and statistics with this 'perf lock' command.
18 'perf lock record <command>' records lock events
19 between start and end <command>. And this command
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-mem.txt11 'perf mem' [<options>] (record [<command>] | report)
15 "perf mem record" runs a command and gathers memory operation data
28 <command>...::
29 Any command you can specify in a shell.
/tools/perf/
Dbuiltin-probe.c39 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()
349 if (params.command == 'D') { /* it shows definition */ in perf_add_probe_events()
615 if (params.command && params.command != 'a') { in __cmd_probe()
624 params.command = 'a'; in __cmd_probe()
648 if (!strchr("lda", params.command) && symbol_conf.vmlinux_name) in __cmd_probe()
[all …]
/tools/testing/selftests/ftrace/test.d/
Dfunctions143 # Since probe event command may include backslash, explicitly use printf "%s"
145 ftrace_errlog_check() { # err-prefix command-with-error-pos-by-^ command-file
147 command=$(printf "%s" "$2" | tr -d ^)
148 echo "Test command: $command"
150 (! printf "%s" "$command" >> "$3" ) 2> /dev/null
/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/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/selftests/tc-testing/
Dtdc.py157 def call_adjust_command(self, stage, command): argument
159 command = pgn_inst.adjust_command(stage, command)
160 return command
180 def exec_cmd(args, pm, stage, command): argument
185 if len(command.strip()) == 0:
187 if '$' in command:
188 command = replace_keywords(command)
190 command = pm.call_adjust_command(stage, command)
192 print('command "{}"'.format(command))
193 proc = subprocess.Popen(command,
[all …]
DTdcPlugin.py43 def adjust_command(self, stage, command): argument
63 return command
/tools/perf/tests/attr/
Dtest-record-basic2 command = record
Dtest-stat-basic2 command = stat
Dtest-record-raw2 command = record
Dtest-stat-no-inherit2 command = stat
Dtest-record-graph-default2 command = record
Dtest-record-no-samples2 command = record

123456