Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c417 struct handlers { struct
430 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception() local
454 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception()
455 return handlers->exception_handlers[vector][ec](regs); in route_exception()
463 vm->handlers = __vm_vaddr_alloc(vm, sizeof(struct handlers), in vm_init_descriptor_tables()
466 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables()
472 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_sync_handler() local
477 handlers->exception_handlers[vector][ec] = handler; in vm_install_sync_handler()
483 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_exception_handler() local
487 handlers->exception_handlers[vector][0] = handler; in vm_install_exception_handler()
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1080 handler *handlers = (handler *)exception_handlers; in route_exception() local
1082 if (handlers && handlers[regs->vector]) { in route_exception()
1083 handlers[regs->vector](regs); in route_exception()
1102 vm->handlers = __vm_vaddr_alloc_page(vm, MEM_REGION_DATA); in vm_init_descriptor_tables()
1121 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vcpu_init_descriptor_tables()
1127 vm_vaddr_t *handlers = (vm_vaddr_t *)addr_gva2hva(vm, vm->handlers); in vm_install_exception_handler() local
1129 handlers[vector] = (vm_vaddr_t)handler; in vm_install_exception_handler()
/tools/testing/selftests/kvm/
DMakefile36 LIBKVM_x86_64 += lib/x86_64/handlers.S
46 LIBKVM_aarch64 += lib/aarch64/handlers.S
/tools/perf/
Dbuiltin-sched.c1834 struct evsel_str_handler handlers[] = { in perf_sched__read_events() local
1860 handlers[2].handler = process_sched_wakeup_ignore; in perf_sched__read_events()
1862 if (perf_session__set_tracepoints_handlers(session, handlers)) in perf_sched__read_events()
3018 struct evsel_str_handler handlers[] = { in perf_sched__timehist() local
3081 handlers[1].handler = timehist_sched_wakeup_ignore; in perf_sched__timehist()
3084 if (perf_session__set_tracepoints_handlers(session, handlers)) in perf_sched__timehist()
Dbuiltin-trace.c4113 const struct evsel_str_handler handlers[] = { local
4157 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
/tools/testing/selftests/kvm/include/
Dkvm_util_base.h112 vm_vaddr_t handlers; member