Home
last modified time | relevance | path

Searched refs:run (Results 1 – 25 of 144) sorted by relevance

123456

/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c69 struct kvm_run *run; in main() local
86 run = vcpu_state(vm, VCPU_ID); in main()
89 run->kvm_valid_regs = INVALID_SYNC_FIELD; in main()
96 run->kvm_valid_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main()
104 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in main()
111 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main()
119 run->kvm_valid_regs = TEST_SYNC_FIELDS; in main()
122 TEST_ASSERT(run->exit_reason == KVM_EXIT_S390_SIEIC, in main()
124 run->exit_reason, in main()
125 exit_reason_str(run->exit_reason)); in main()
[all …]
Dmemop.c35 struct kvm_run *run; in main() local
51 run = vcpu_state(vm, VCPU_ID); in main()
67 TEST_ASSERT(run->exit_reason == KVM_EXIT_S390_SIEIC, in main()
69 run->exit_reason, in main()
70 exit_reason_str(run->exit_reason)); in main()
149 run->psw_mask &= ~(3UL << (63 - 17)); in main()
150 run->psw_mask |= 1UL << (63 - 17); /* Enable AR mode */ in main()
160 run->psw_mask &= ~(3UL << (63 - 17)); /* Disable AR mode */ in main()
/tools/testing/selftests/kvm/x86_64/
Dsync_regs_test.c83 struct kvm_run *run; in main() local
105 run = vcpu_state(vm, VCPU_ID); in main()
108 run->kvm_valid_regs = INVALID_SYNC_FIELD; in main()
115 run->kvm_valid_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main()
123 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in main()
130 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main()
139 run->kvm_valid_regs = TEST_SYNC_FIELDS; in main()
141 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
143 run->exit_reason, in main()
144 exit_reason_str(run->exit_reason)); in main()
[all …]
Dmmio_warning_test.c36 struct kvm_run *run; member
44 struct kvm_run *run = tc->run; in thr() local
48 res, run->exit_reason, run->internal.suberror); in thr()
57 struct kvm_run *run; in test() local
66 run = (struct kvm_run *)mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, in test()
69 tc.run = run; in test()
Dplatform_info_test.c50 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in test_msr_platform_info_enabled() local
55 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in test_msr_platform_info_enabled()
57 run->exit_reason, in test_msr_platform_info_enabled()
58 exit_reason_str(run->exit_reason)); in test_msr_platform_info_enabled()
71 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in test_msr_platform_info_disabled() local
75 TEST_ASSERT(run->exit_reason == KVM_EXIT_SHUTDOWN, in test_msr_platform_info_disabled()
77 run->exit_reason, in test_msr_platform_info_disabled()
78 exit_reason_str(run->exit_reason)); in test_msr_platform_info_disabled()
Dvmx_close_while_nested_test.c67 volatile struct kvm_run *run = vcpu_state(vm, VCPU_ID); in main() local
71 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
73 run->exit_reason, in main()
74 exit_reason_str(run->exit_reason)); in main()
76 if (run->io.port == PORT_L0_EXIT) in main()
Dcr4_cpuid_sync_test.c66 struct kvm_run *run; in main() local
85 run = vcpu_state(vm, VCPU_ID); in main()
91 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
93 run->exit_reason, in main()
94 exit_reason_str(run->exit_reason)); in main()
Dsmm_test.c94 struct kvm_run *run; in main() local
103 run = vcpu_state(vm, VCPU_ID); in main()
126 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
128 stage, run->exit_reason, in main()
129 exit_reason_str(run->exit_reason)); in main()
150 run = vcpu_state(vm, VCPU_ID); in main()
Devmcs_test.c78 struct kvm_run *run; in main() local
96 run = vcpu_state(vm, VCPU_ID); in main()
105 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
107 stage, run->exit_reason, in main()
108 exit_reason_str(run->exit_reason)); in main()
140 run = vcpu_state(vm, VCPU_ID); in main()
Dvmx_dirty_log_test.c77 struct kvm_run *run; in main() local
88 run = vcpu_state(vm, VCPU_ID); in main()
122 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
124 run->exit_reason, in main()
125 exit_reason_str(run->exit_reason)); in main()
Dstate_test.c126 struct kvm_run *run; in main() local
134 run = vcpu_state(vm, VCPU_ID); in main()
148 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
150 stage, run->exit_reason, in main()
151 exit_reason_str(run->exit_reason)); in main()
182 run = vcpu_state(vm, VCPU_ID); in main()
Dvmx_tsc_adjust_test.c142 volatile struct kvm_run *run = vcpu_state(vm, VCPU_ID); in main() local
146 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
148 run->exit_reason, in main()
149 exit_reason_str(run->exit_reason)); in main()
/tools/perf/scripts/python/
Dstat-cpi.py23 def store(time, event, cpu, thread, val, ena, run): argument
29 data[key] = [ val, ena, run]
35 def stat__cycles_k(cpu, thread, time, val, ena, run): argument
36 store(time, "cycles", cpu, thread, val, ena, run);
38 def stat__instructions_k(cpu, thread, time, val, ena, run): argument
39 store(time, "instructions", cpu, thread, val, ena, run);
41 def stat__cycles_u(cpu, thread, time, val, ena, run): argument
42 store(time, "cycles", cpu, thread, val, ena, run);
44 def stat__instructions_u(cpu, thread, time, val, ena, run): argument
45 store(time, "instructions", cpu, thread, val, ena, run);
[all …]
/tools/perf/tests/
Dmake10 # run only specific test over 'Makefile'
113 # $(run) contains all available tests
114 run := make_pure
115 # Targets 'clean all' can be run together only through top level
119 run += make_clean_all
124 run += make_python_perf_so
125 run += make_debug
126 run += make_no_libperl
127 run += make_no_libpython
128 run += make_no_scripts
[all …]
/tools/testing/selftests/kvm/lib/s390x/
Ducall.c38 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall() local
41 if (run->exit_reason == KVM_EXIT_S390_SIEIC && in get_ucall()
42 run->s390_sieic.icptcode == 4 && in get_ucall()
43 (run->s390_sieic.ipa >> 8) == 0x83 && /* 0x83 means DIAGNOSE */ in get_ucall()
44 (run->s390_sieic.ipb >> 16) == 0x501) { in get_ucall()
45 int reg = run->s390_sieic.ipa & 0xf; in get_ucall()
47 memcpy(&ucall, addr_gva2hva(vm, run->s.regs.gprs[reg]), in get_ucall()
/tools/testing/selftests/ftrace/
DREADME10 At first, you need to be the root user to run this script.
11 To run all testcases:
15 To run specific testcases:
19 Or you can also run testcases under given directory:
31 * Take care with side effects as the tests are run with root privilege.
33 * The tests should not run for a long period of time (more than 1 min.)
38 * The test cases should run on dash (busybox shell) for testing on
41 * Note that the tests are run with "set -e" (errexit) option. If any
64 * UNTESTED: The test was not run, currently just a placeholder.
74 You can also run samples as below:
/tools/testing/selftests/kvm/lib/aarch64/
Ducall.c94 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall() local
97 if (run->exit_reason == KVM_EXIT_MMIO && in get_ucall()
98 run->mmio.phys_addr == (uint64_t)ucall_exit_mmio_addr) { in get_ucall()
101 TEST_ASSERT(run->mmio.is_write && run->mmio.len == 8, in get_ucall()
103 memcpy(&gva, run->mmio.data, sizeof(gva)); in get_ucall()
/tools/perf/util/
Dstat-display.c24 u64 run, u64 ena) in print_running() argument
29 run, in print_running()
31 ena ? 100.0 * run / ena : 100.0); in print_running()
32 } else if (run != ena) { in print_running()
33 fprintf(config->output, " (%.2f%%)", 100.0 * run / ena); in print_running()
393 char *prefix, u64 run, u64 ena, double noise, in printout() argument
433 if (run == 0 || ena == 0 || counter->counts->scaled == -1) { in printout()
464 print_running(config, run, ena); in printout()
480 print_running(config, run, ena); in printout()
488 print_running(config, run, ena); in printout()
[all …]
/tools/memory-model/scripts/
DREADME6 These scripts are run from the tools/memory-model directory.
34 with the absolute pathnames of the tests to run provided one
35 name per line on standard input. Not normally run manually,
48 judge whether the test ran correctly. Not normally run manually,
54 specified number of processes given a specified timeout, run
59 Parse command-line arguments. Not normally run manually,
65 name per line on standard input. Not normally run manually,
Dcheckghlitmus.sh51 if scripts/runlitmushist.sh < $T/list-C-needed > $T/run.stdout 2> $T/run.stderr
63 cat $T/run.stderr 1>&2
/tools/testing/selftests/tc-testing/
DTODO.txt6 - Add support for multiple versions of tc to run successively
8 - Improve error messages when tdc aborts its run. Partially done - still
17 will attempt to run a function at every hook point. Could be
19 be run in the various predefined times. Then if a plugin does not
21 trying to run a function that will do nothing.
DREADME20 * The kernel must have the appropriate infrastructure enabled to run all tdc
25 modules. To check what is required in current setup run:
29 In the current release, tdc run will abort due to a failure in setup or
30 teardown commands - which includes not being able to run a test simply
32 handled in a future version - the current workaround is to run the tests
52 commands being tested must be run as root. The code that enforces
60 to tdc when starting a test run; the veth pair will still be created
63 Running tdc without any arguments will run all tests. Refer to the section
64 on command line arguments for more information, or run:
67 tdc will list the test names as they are being run, and print a summary in
[all …]
/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c40 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall() local
43 if (run->exit_reason == KVM_EXIT_IO && run->io.port == UCALL_PIO_PORT) { in get_ucall()
/tools/testing/selftests/rcutorture/bin/
Dkvm-recheck-rcu.sh56 print_bug $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $i
58 print_warning $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $i
60 …echo $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $i > $i/console.log.rcu.d…
/tools/testing/selftests/tc-testing/creating-plugins/
DAddingPlugins.txt14 - adding commands to be run before and/or after the test suite
15 - adding commands to be run before and/or after the test cases
16 - adding commands to be run before and/or after the execute phase of the test cases
17 - 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
43 This method takes a testcount (number of tests to be run) and
44 testidlist (array of test ids for tests that will be run). This is
49 defined in the test case, but if the plugin is being used to run extra

123456