Lines Matching full:record

255 static int print_exit_reason(struct trace_seq *s, struct tep_record *record,  in print_exit_reason()  argument
262 if (tep_get_field_val(s, event, field, record, &val, 1) < 0) in print_exit_reason()
265 if (tep_get_field_val(s, event, "isa", record, &isa, 0) < 0) in print_exit_reason()
276 static int kvm_exit_handler(struct trace_seq *s, struct tep_record *record, in kvm_exit_handler() argument
281 if (print_exit_reason(s, record, event, "exit_reason") < 0) in kvm_exit_handler()
284 tep_print_num_field(s, " rip 0x%lx", event, "guest_rip", record, 1); in kvm_exit_handler()
286 if (tep_get_field_val(s, event, "info1", record, &info1, 0) >= 0 in kvm_exit_handler()
287 && tep_get_field_val(s, event, "info2", record, &info2, 0) >= 0) in kvm_exit_handler()
299 struct tep_record *record, in kvm_emulate_insn_handler() argument
307 if (tep_get_field_val(s, event, "rip", record, &rip, 1) < 0) in kvm_emulate_insn_handler()
310 if (tep_get_field_val(s, event, "csbase", record, &csbase, 1) < 0) in kvm_emulate_insn_handler()
313 if (tep_get_field_val(s, event, "len", record, &len, 1) < 0) in kvm_emulate_insn_handler()
316 if (tep_get_field_val(s, event, "flags", record, &flags, 1) < 0) in kvm_emulate_insn_handler()
319 if (tep_get_field_val(s, event, "failed", record, &failed, 1) < 0) in kvm_emulate_insn_handler()
322 insn = tep_get_field_raw(s, event, "insn", record, &llen, 1); in kvm_emulate_insn_handler()
338 static int kvm_nested_vmexit_inject_handler(struct trace_seq *s, struct tep_record *record, in kvm_nested_vmexit_inject_handler() argument
341 if (print_exit_reason(s, record, event, "exit_code") < 0) in kvm_nested_vmexit_inject_handler()
344 tep_print_num_field(s, " info1 %llx", event, "exit_info1", record, 1); in kvm_nested_vmexit_inject_handler()
345 tep_print_num_field(s, " info2 %llx", event, "exit_info2", record, 1); in kvm_nested_vmexit_inject_handler()
346 tep_print_num_field(s, " int_info %llx", event, "exit_int_info", record, 1); in kvm_nested_vmexit_inject_handler()
347 tep_print_num_field(s, " int_info_err %llx", event, "exit_int_info_err", record, 1); in kvm_nested_vmexit_inject_handler()
352 static int kvm_nested_vmexit_handler(struct trace_seq *s, struct tep_record *record, in kvm_nested_vmexit_handler() argument
355 tep_print_num_field(s, "rip %llx ", event, "rip", record, 1); in kvm_nested_vmexit_handler()
357 return kvm_nested_vmexit_inject_handler(s, record, event, context); in kvm_nested_vmexit_handler()
378 static int kvm_mmu_print_role(struct trace_seq *s, struct tep_record *record, in kvm_mmu_print_role() argument
387 if (tep_get_field_val(s, event, "role", record, &val, 1) < 0) in kvm_mmu_print_role()
415 "root_count", record, 1); in kvm_mmu_print_role()
417 if (tep_get_field_val(s, event, "unsync", record, &val, 1) < 0) in kvm_mmu_print_role()
425 struct tep_record *record, in kvm_mmu_get_page_handler() argument
430 if (tep_get_field_val(s, event, "created", record, &val, 1) < 0) in kvm_mmu_get_page_handler()
435 if (tep_get_field_val(s, event, "gfn", record, &val, 1) < 0) in kvm_mmu_get_page_handler()
439 return kvm_mmu_print_role(s, record, event, context); in kvm_mmu_get_page_handler()