Home
last modified time | relevance | path

Searched refs:stage (Results 1 – 21 of 21) sorted by relevance

/tools/testing/selftests/kvm/x86_64/
Dvmx_preemption_timer_test.c164 int stage; in main() local
186 for (stage = 1;; stage++) { in main()
190 stage, run->exit_reason, in main()
208 uc.args[1] == stage, "Stage %d: Unexpected register values vmexit, got %lx", in main()
209 stage, (ulong)uc.args[1]); in main()
218 if (stage == 2) { in main()
221 stage, uc.args[2], uc.args[3]); in main()
224 stage, uc.args[4], uc.args[5]); in main()
228 stage, uc.args[2], uc.args[3]); in main()
232 stage, uc.args[4], uc.args[5]); in main()
Dset_boot_cpu_id.c53 int stage; in run_vcpu() local
55 for (stage = 0; stage < 2; stage++) { in run_vcpu()
62 uc.args[1] == stage + 1, in run_vcpu()
64 stage + 1, (ulong)uc.args[1]); in run_vcpu()
68 TEST_ASSERT(stage == 1, in run_vcpu()
70 stage); in run_vcpu()
Dsmm_test.c141 int stage, stage_reported; in main() local
171 for (stage = 1;; stage++) { in main()
175 stage, run->exit_reason, in main()
186 TEST_ASSERT(stage_reported == stage || in main()
189 stage, stage_reported); in main()
195 if (stage == 8) { in main()
204 if (stage == 10) in main()
Dhyperv_clock.c214 int stage; in main() local
229 for (stage = 1;; stage++) { in main()
233 stage, run->exit_reason, in main()
245 TEST_ASSERT(stage == 11, "Testing ended prematurely, stage %d\n", in main()
246 stage); in main()
253 uc.args[1] == stage, in main()
255 stage, (ulong)uc.args[1]); in main()
258 if (stage == 7 || stage == 8 || stage == 10) { in main()
Devmcs_test.c148 int stage; in main() local
173 for (stage = 1;; stage++) { in main()
178 stage, run->exit_reason, in main()
196 uc.args[1] == stage, "Stage %d: Unexpected register values vmexit, got %lx", in main()
197 stage, (ulong)uc.args[1]); in main()
202 if (stage == 8) { in main()
212 if (stage == 9) { in main()
Dget_cpuid_test.c121 static void run_vcpu(struct kvm_vm *vm, uint32_t vcpuid, int stage) in run_vcpu() argument
130 uc.args[1] == stage + 1, in run_vcpu()
132 stage + 1, (ulong)uc.args[1]); in run_vcpu()
162 int stage; in main() local
175 for (stage = 0; stage < 3; stage++) in main()
176 run_vcpu(vm, VCPU_ID, stage); in main()
Dhyperv_features.c173 int stage = 0, r; in guest_test_msrs_access() local
188 switch (stage) { in guest_test_msrs_access()
451 pr_debug("Stage %d: testing msr: 0x%x for %s\n", stage, in guest_test_msrs_access()
454 pr_debug("Stage %d: finish\n", stage); in guest_test_msrs_access()
464 TEST_ASSERT(uc.args[1] == stage, in guest_test_msrs_access()
466 uc.args[1], stage); in guest_test_msrs_access()
476 stage++; in guest_test_msrs_access()
485 int stage = 0, r; in guest_test_hcalls_access() local
500 switch (stage) { in guest_test_hcalls_access()
596 pr_debug("Stage %d: testing hcall: 0x%lx\n", stage, in guest_test_hcalls_access()
[all …]
Dstate_test.c164 int stage; in main() local
184 for (stage = 1;; stage++) { in main()
188 stage, run->exit_reason, in main()
206 uc.args[1] == stage, "Stage %d: Unexpected register values vmexit, got %lx", in main()
207 stage, (ulong)uc.args[1]); in main()
Dtsc_msrs_test.c69 static void run_vcpu(struct kvm_vm *vm, uint32_t vcpuid, int stage) in run_vcpu() argument
80 … uc.args[1] == stage + 1, "Stage %d: Unexpected register values vmexit, got %lx", in run_vcpu()
81 stage + 1, (ulong)uc.args[1]); in run_vcpu()
/tools/testing/selftests/tc-testing/plugin-lib/
DnsPlugin.py45 def adjust_command(self, stage, command): argument
46 super().adjust_command(stage, command)
61 if stage == 'setup' or stage == 'execute' or stage == 'verify' or stage == 'teardown':
63 …nd: stage is {}; inserting netns stuff in command [{}] list [{}]'.format(stage, command, cmdlist))
121 def _exec_cmd(self, stage, command): argument
129 self.adjust_command(stage, command)
DvalgrindPlugin.py62 def adjust_command(self, stage, command): argument
63 super().adjust_command(stage, command)
79 if stage == 'execute':
82 format(stage, command, cmdlist))
/tools/testing/selftests/kvm/aarch64/
Ddebug-exceptions.c201 int stage; in main() local
226 for (stage = 0; stage < 7; stage++) { in main()
231 TEST_ASSERT(uc.args[1] == stage, in main()
233 stage, (ulong)uc.args[1]); in main()
/tools/testing/selftests/tc-testing/
Dtdc.py33 def __init__(self, stage, output, message): argument
34 self.stage = stage
157 def call_adjust_command(self, stage, command): argument
159 command = pgn_inst.adjust_command(stage, command)
180 def exec_cmd(args, pm, stage, command): argument
190 command = pm.call_adjust_command(stage, command)
214 def prepare_env(args, pm, stage, prefix, cmdlist, output = None): argument
232 (proc, foutput) = exec_cmd(args, pm, stage, cmd)
246 stage, output,
334 stage = None
[all …]
DTdcPlugin.py43 def adjust_command(self, stage, command): argument
46 print(' -- {}.adjust_command {}'.format(self.sub_class, stage))
DREADME87 stage does some setup if the test needs it. The teardown stage undoes
92 The execute and verify stages each run one command. The execute stage
94 verify stage checks the return code for success, and also compares
97 Each of the commands in any stage will run in a shell instance.
134 -P, --pause Pause execution just before post-suite stage
200 pre- and post-execute stage
201 adjust-command (runs in all stages and receives the stage name)
205 failure during setup or teardown stage.
209 The adjust-command hook receives the stage id (see list below) and the
236 runs each command in the execute stage under valgrind,
/tools/testing/selftests/kvm/
Dkvm_page_table_test.c203 enum test_stage stage; in vcpu_worker() local
225 stage = READ_ONCE(*current_stage); in vcpu_worker()
233 vcpu_id, test_stage_string[stage], in vcpu_worker()
339 static void vcpus_complete_new_stage(enum test_stage stage) in vcpus_complete_new_stage() argument
357 vcpus + 1, test_stage_string[stage]); in vcpus_complete_new_stage()
361 test_stage_string[stage]); in vcpus_complete_new_stage()
/tools/testing/selftests/tc-testing/creating-plugins/
DAddingPlugins.txt18 pre (the pre-suite stage)
23 post (the post-suite stage)
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
/tools/testing/selftests/kvm/include/
Dkvm_util.h373 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \ argument
374 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4)
375 #define GUEST_SYNC(stage) ucall(UCALL_SYNC, 2, "hello", stage) argument
/tools/testing/selftests/arm64/signal/
DREADME53 successfully progressed up to the stage of triggering the fake sigreturn
/tools/perf/Documentation/
Dperf.data-file-format.txt328 conversion into wall clock time on the reporting stage.
Dperf-report.txt116 pipeline stage. And currently supported only on powerpc.