Home
last modified time | relevance | path

Searched refs:stop (Results 1 – 25 of 69) sorted by relevance

123

/tools/testing/selftests/livepatch/
Dtest_klp-call_getpid.c14 static int stop; variable
19 stop = 1; in hup_handler()
24 stop = 1; in int_handler()
35 while (!stop) { in main()
/tools/testing/selftests/bpf/prog_tests/
Dhtab_reuse.c12 bool stop; member
25 while (i++ < ctx->loop && !ctx->stop) { in htab_lookup_fn()
42 while (i++ < ctx->loop && !ctx->stop) { in htab_update_fn()
76 ctx.stop = false; in test_htab_reuse()
82 ctx.stop = true; in test_htab_reuse()
89 ctx.stop = true; in test_htab_reuse()
Dhtab_update.c12 bool stop; member
60 while (i++ < ctx->loop && !ctx->stop) { in htab_update_thread()
66 ctx->stop = true; in htab_update_thread()
88 ctx.stop = false; in test_concurrent_update()
100 ctx.stop = true; in test_concurrent_update()
Dsubprogs.c9 bool stop; member
18 while (!ctx->stop) { in toggle_jit_harden()
39 ctx.stop = false; in test_subprogs_with_jit_harden_toggling()
55 ctx.stop = true; in test_subprogs_with_jit_harden_toggling()
Duretprobe_stack.c62 long stop; member
93 printf("caller: %#lx - %#lx\n", caller.start, caller.stop); in validate_stack()
95 printf("target_%d: %#lx - %#lx\n", i, targets[i].start, targets[i].stop); in validate_stack()
98 if (ips[i] >= targets[j].start && ips[i] < targets[j].stop) in validate_stack()
103 } else if (ips[i] >= caller.start && ips[i] < caller.stop) { in validate_stack()
118 ASSERT_LT(ips[i], t->stop, "addr_stop"); in validate_stack()
Dtask_local_storage.c137 static bool stop; variable
143 stop = true; in waitall()
153 while (!stop) { in sock_create_loop()
157 stop = true; in sock_create_loop()
Dsk_assign.c26 static int stop, duration; variable
165 WRITE_ONCE(stop, 1); in run_test()
256 for (i = 0; i < ARRAY_SIZE(tests) && !READ_ONCE(stop); i++) { in test_sk_assign()
/tools/testing/selftests/bpf/map_tests/
Dlpm_trie_map_get_next_key.c26 bool stop; member
40 while (!ctx->stop && i++ < ctx->loop) in get_next_key_fn()
51 ctx->stop = true; in abort_get_next_key()
89 ctx.stop = false; in test_lpm_trie_map_get_next_key()
Dtask_storage_map.c22 bool stop; member
37 while (!ctx->stop && i++ < ctx->loop) in lookup_fn()
46 ctx->stop = true; in abort_lookup()
97 ctx.stop = false; in test_task_storage_map_stress_lookup()
Dsk_storage_map.c35 static unsigned int stop; variable
40 return READ_ONCE(stop); in is_stopped()
261 WRITE_ONCE(stop, 1); in do_sk_storage_map_stress_free()
367 WRITE_ONCE(stop, 1); in do_sk_storage_map_stress_change()
388 WRITE_ONCE(stop, 1); in stop_handler()
/tools/testing/selftests/drivers/net/lib/py/
Dload.py23 self.stop(verbose=True)
46 self.stop(verbose=failed)
48 def stop(self, verbose=None): member in GenerateTraffic
/tools/perf/bench/
Dsyscall.c77 struct timeval start, stop, diff; in bench_syscall_common() local
116 gettimeofday(&stop, NULL); in bench_syscall_common()
117 timersub(&stop, &start, &diff); in bench_syscall_common()
Dbreakpoint.c118 struct timeval start, stop, diff; in bench_breakpoint_thread() local
147 gettimeofday(&stop, NULL); in bench_breakpoint_thread()
148 timersub(&stop, &start, &diff); in bench_breakpoint_thread()
204 struct timeval start, stop, diff; in bench_breakpoint_enable() local
237 gettimeofday(&stop, NULL); in bench_breakpoint_enable()
238 timersub(&stop, &start, &diff); in bench_breakpoint_enable()
Dsched-seccomp-notify.c97 struct timeval start, stop, diff; in bench_sched_seccomp_notify() local
142 gettimeofday(&stop, NULL); in bench_sched_seccomp_notify()
143 timersub(&stop, &start, &diff); in bench_sched_seccomp_notify()
Dsched-pipe.c202 struct timeval start, stop, diff; in bench_sched_pipe() local
265 gettimeofday(&stop, NULL); in bench_sched_pipe()
266 timersub(&stop, &start, &diff); in bench_sched_pipe()
Dnuma.c1156 struct timeval start0, start, stop, diff; in worker_thread() local
1219 start = stop = start0; in worker_thread()
1223 start = stop; in worker_thread()
1257 gettimeofday(&stop, NULL); in worker_thread()
1261 timersub(&stop, &start0, &diff); in worker_thread()
1269 if (start.tv_sec == stop.tv_sec) in worker_thread()
1276 …if (first_task && g->p.perturb_secs && (int)(stop.tv_sec - last_perturbance) >= g->p.perturb_secs)… in worker_thread()
1281 last_perturbance = stop.tv_sec; in worker_thread()
1305 timersub(&stop, &start, &diff); in worker_thread()
1318 timersub(&stop, &start0, &diff); in worker_thread()
[all …]
Dsched-messaging.c295 struct timeval start, stop, diff; in bench_sched_messaging() local
335 gettimeofday(&stop, NULL); in bench_sched_messaging()
337 timersub(&stop, &start, &diff); in bench_sched_messaging()
/tools/perf/Documentation/
Dperf-kwork.txt107 Only analyze samples within given time window: <start>,<stop>. Times
110 stop time is not given (i.e, time string is 'x.y,') then analysis goes
137 Only analyze samples within given time window: <start>,<stop>. Times
140 stop time is not given (i.e, time string is 'x.y,') then analysis goes
176 Only analyze samples within given time window: <start>,<stop>. Times
179 stop time is not given (i.e, time string is 'x.y,') then analysis goes
206 Only analyze samples within given time window: <start>,<stop>. Times
209 stop time is not given (i.e, time string is 'x.y,') then analysis goes
Dperf-kmem.txt71 --time=<start>,<stop>::
72 Only analyze samples within given time window: <start>,<stop>. Times
75 stop time is not given (i.e, time string is 'x.y,') then analysis goes
/tools/testing/selftests/net/lib/py/
Dksft.py205 stop = False
221 stop |= isinstance(e, KeyboardInterrupt)
225 if stop:
238 if stop:
/tools/bpf/bpftool/
Dmap_perf_ring.c30 static volatile bool stop; variable
48 stop = true; in int_exit()
204 while (!stop) { in do_event_pipe()
/tools/virtio/virtio-trace/
DREADME9 - controlled by start/stop orders from a Host
20 6) If the controller receives a stop order from a host, the read/write threads
21 stop to read trace data.
109 the guest will stop by specification of chardev in QEMU. This blocking mode may
117 A host injects read stop order to the guest via virtio-serial.
/tools/testing/selftests/ftrace/test.d/
Dfunctions5 disable_tracing() { # stop trace recording
88 stop=1
91 stop=$((stop+1))
93 if [ $stop -gt 10 ]; then
/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.h59 int (*stop) (void); member
/tools/include/linux/
Drbtree_augmented.h30 void (*propagate)(struct rb_node *node, struct rb_node *stop);
79 RBNAME ## _propagate(struct rb_node *rb, struct rb_node *stop) \
81 while (rb != stop) { \

123