linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] trace-cmd: Use vsock tracing to find cids and threads
@ 2021-05-13 20:43 Steven Rostedt
  2021-05-13 20:43 ` [PATCH v3 1/2] trace-cmd: Find PID of host-guest task from tracing vsock connection Steven Rostedt
  2021-05-13 20:43 ` [PATCH v3 2/2] trace-cmd: Trace timesync to find pids that map vCPUs Steven Rostedt
  0 siblings, 2 replies; 7+ messages in thread
From: Steven Rostedt @ 2021-05-13 20:43 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Steven Rostedt (VMware)

From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

Use tracing the wake-up and kvm-exit events to find the task that is
owned by the given CID. Also, do the same to find the mappings of
threads and the guest vCPUs.

Changes since v2:

 - Added the two patches together into a single series:
   https://lore.kernel.org/linux-trace-devel/20210506171400.7c00b731@gandalf.local.home/
   https://lore.kernel.org/linux-trace-devel/20210507135615.033a6121@gandalf.local.home/

 - Rewrote the change log for the first patch to explain the problem
   better.

 - Used some of the new APIs of libtracefs 1.2 to simplify the code

 - Still call read_qemu_gusts() but only if the CID is not supplied on
   the command line.

Steven Rostedt (VMware) (2):
  trace-cmd: Find PID of host-guest task from tracing vsock connection
  trace-cmd: Trace timesync to find pids that map vCPUs

 tracecmd/include/trace-local.h |   2 +
 tracecmd/trace-record.c        | 202 ++++++++++++++++++++++++++++-
 tracecmd/trace-vm.c            | 227 ++++++++++++++++++++++++++++++++-
 3 files changed, 429 insertions(+), 2 deletions(-)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-14 14:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 20:43 [PATCH v3 0/2] trace-cmd: Use vsock tracing to find cids and threads Steven Rostedt
2021-05-13 20:43 ` [PATCH v3 1/2] trace-cmd: Find PID of host-guest task from tracing vsock connection Steven Rostedt
2021-05-13 20:43 ` [PATCH v3 2/2] trace-cmd: Trace timesync to find pids that map vCPUs Steven Rostedt
2021-05-14  4:10   ` Tzvetomir Stoyanov
2021-05-14 13:12     ` Steven Rostedt
2021-05-14 13:38       ` Tzvetomir Stoyanov
2021-05-14 14:00         ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).