From: Oscar Garcia Subject: Tracing guest process Date: Tue, 04 Aug 2015 11:00:52 +0900 Message-ID: <55C01CD4.7080405@softlab.cs.tsukuba.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from voyager.hlla.is.tsukuba.ac.jp ([130.158.83.133]:59683 "EHLO voyager.softlab.cs.tsukuba.ac.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752178AbbHDCK3 (ORCPT ); Mon, 3 Aug 2015 22:10:29 -0400 Received: from [192.168.96.144] (unknown [192.168.96.144]) by voyager.softlab.cs.tsukuba.ac.jp (Postfix) with ESMTPSA id EEA993C441CE for ; Tue, 4 Aug 2015 11:01:18 +0900 (JST) Sender: kvm-owner@vger.kernel.org List-ID: Hello, I have a problem where a vcpu is spinning over a EXIT_REASON_PAUSE_INSTRUCTION forever. This VMEXIT is caused by a spin-lock. The entire gust system blocks. As my code has not spin-locks, probably it is invoking a system call that invokes a spin-lock. I'm interested in knowing the trace of the running process. the problem is: I have a vcpu stopped, then gdb and ftrace do not work. my question is, is it possible to obtain the call trace (of a guest process running under a certain vcpu) from the structures in kvm? Oscar