Home
last modified time | relevance | path

Searched refs:handlers (Results 1 – 10 of 10) sorted by relevance

/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c357 struct handlers { struct
370 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception() local
394 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception()
395 return handlers->exception_handlers[vector][ec](regs); in route_exception()
403 vm->handlers = vm_vaddr_alloc(vm, sizeof(struct handlers), in vm_init_descriptor_tables()
406 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables()
412 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_sync_handler() local
417 handlers->exception_handlers[vector][ec] = handler; in vm_install_sync_handler()
423 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_exception_handler() local
427 handlers->exception_handlers[vector][0] = handler; in vm_install_exception_handler()
/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h68 vm_vaddr_t handlers; member
/tools/lib/traceevent/
Devent-parse-local.h81 struct event_handler *handlers; member
Devent-parse.c6707 for (next = &tep->handlers; *next; in find_event_handle()
7365 handle->next = tep->handlers; in tep_register_event_handler()
7366 tep->handlers = handle; in tep_register_event_handler()
7429 for (next = &tep->handlers; *next; next = &(*next)->next) { in tep_unregister_event_handler()
7586 while (tep->handlers) { in tep_free()
7587 handle = tep->handlers; in tep_free()
7588 tep->handlers = handle->next; in tep_free()
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1247 handler *handlers = (handler *)exception_handlers; in route_exception() local
1249 if (handlers && handlers[regs->vector]) { in route_exception()
1250 handlers[regs->vector](regs); in route_exception()
1263 vm->handlers = vm_vaddr_alloc_page(vm); in vm_init_descriptor_tables()
1281 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vcpu_init_descriptor_tables()
1287 vm_vaddr_t *handlers = (vm_vaddr_t *)addr_gva2hva(vm, vm->handlers); in vm_install_exception_handler() local
1289 handlers[vector] = (vm_vaddr_t)handler; in vm_install_exception_handler()
/tools/testing/selftests/kvm/
DMakefile37 …c lib/x86_64/processor.c lib/x86_64/vmx.c lib/x86_64/svm.c lib/x86_64/ucall.c lib/x86_64/handlers.S
38 LIBKVM_aarch64 = lib/aarch64/processor.c lib/aarch64/ucall.c lib/aarch64/handlers.S
/tools/perf/
Dbuiltin-sched.c1792 const struct evsel_str_handler handlers[] = { in perf_sched__read_events() local
1815 if (perf_session__set_tracepoints_handlers(session, handlers)) in perf_sched__read_events()
2977 struct evsel_str_handler handlers[] = { in perf_sched__timehist() local
3040 handlers[1].handler = timehist_sched_wakeup_ignore; in perf_sched__timehist()
3043 if (perf_session__set_tracepoints_handlers(session, handlers)) in perf_sched__timehist()
Dbuiltin-trace.c4213 const struct evsel_str_handler handlers[] = { local
4257 err = perf_session__set_tracepoints_handlers(session, handlers);
/tools/perf/Documentation/
Dperf-script-python.txt119 # perf script event handlers, generated by perf script -g python
173 more info on event handlers).
480 arguments passed to all event handlers; some of the fields correspond
Dperf-script-perl.txt88 arguments passed to all event handlers; some of the fields correspond