Re: [PATCH v2] trace-cmd: Find PID of host-guest task from tracing vsock connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 7, 2021 at 5:12 AM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> On Fri, 07 May 2021 02:32:05 +0200
> Dario Faggioli <dfaggioli@xxxxxxxx> wrote:
>
> > What am I missing?
>
> When you have 10 guests running, and you are only tracing one. How do
> you know which guest that kvm exit was for?
>

As Dario said, we can get the guest from the /proc/{kvm_exit task
ID}/status - the Tgid written there is the guest, the host task which
runs that guest.

> -- Steve



-- 
Tzvetomir (Ceco) Stoyanov
VMware Open Source Technology Center



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux