Skip to content
Snippets Groups Projects
  1. Sep 21, 2023
  2. May 12, 2022
  3. Mar 15, 2022
  4. May 31, 2020
  5. Feb 07, 2020
  6. Oct 04, 2019
  7. Aug 20, 2019
  8. Jun 08, 2018
  9. Mar 03, 2017
  10. Sep 13, 2016
  11. May 29, 2016
  12. Feb 22, 2016
  13. Feb 09, 2016
    • Janosch Frank's avatar
      scripts/kvm/kvm_stat: Fix tracefs access checking · e3dd68df
      Janosch Frank authored
      
      On kernels build without CONFIG_TRACING kvm_stat will bail out even
      when traces are not used. This is not very helpful, especially if the
      user can't install a new kernel. Instead, we should warn the user and
      fall back to debugfs statistics.
      
      These changes check if trace statistics were selected without kernel
      support, warn with a small timeout, set the debugfs statistics option
      to True and the tracefs one to False.
      
      Fixes: 7aa4ee5a ('scripts/kvm/kvm_stat: Improve debugfs access checking')
      Signed-off-by: default avatarJanosch Frank <frankja@linux.vnet.ibm.com>
      Message-Id: <1454485291-43849-2-git-send-email-frankja@linux.vnet.ibm.com>
      [Exit if -t is passed explicitly. - Paolo]
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      e3dd68df
  14. Jan 26, 2016
Loading