(root)/
strace-6.5/
src/
linux/
generic/
arch_kvm.c
       1  /*
       2   * Copyright (c) 2017-2021 The strace developers.
       3   * All rights reserved.
       4   *
       5   * SPDX-License-Identifier: LGPL-2.1-or-later
       6   */
       7  
       8  #ifdef HAVE_STRUCT_KVM_REGS
       9  static void
      10  arch_print_kvm_regs(struct tcb *const tcp,
      11  		    const kernel_ulong_t addr,
      12  		    const struct kvm_regs *const regs)
      13  {
      14  	printaddr(addr);
      15  }
      16  #endif	/* HAVE_STRUCT_KVM_REGS */
      17  
      18  #ifdef HAVE_STRUCT_KVM_SREGS
      19  static void
      20  arch_print_kvm_sregs(struct tcb *const tcp,
      21  		    const kernel_ulong_t addr,
      22  		    const struct kvm_sregs *const sregs)
      23  {
      24  	printaddr(addr);
      25  }
      26  #endif	/* HAVE_STRUCT_KVM_SREGS */