linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] trace-cmd: Have trace-cmd listen work with vsockets
@ 2022-04-15  1:10 Steven Rostedt
  2022-04-15  1:10 ` [PATCH v2 1/5] trace-cmd listen: Remove UDP from function names Steven Rostedt
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Steven Rostedt @ 2022-04-15  1:10 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Steven Rostedt (Google)

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

We have a use case where the host is very minimal (like an embedded device)
and does not even have networking enabled. But it does have vsockets. We
need to trace this host and have it send its data to the guest. By running
trace-cmd listen on the guest and have the host use vsockets instead of
networking, can allow this host to be traced.

Changes since v1: https://lore.kernel.org/all/20220412042739.836516-1-rostedt@goodmis.org/

 - Rebased on top of: https://lore.kernel.org/all/20220415010007.938408-1-rostedt@goodmis.org/

 - Added the documentation patch

Steven Rostedt (Google) (5):
  trace-cmd listen: Remove UDP from function names
  trace-cmd listen: Replace bool use_tcp with enum type
  trace-cmd record: Replace bool use_tcp with enum type
  trace-cmd listen: Add vsocket usage
  trace-cmd listen: Add documentation on vsocket usage

 .../trace-cmd/trace-cmd-listen.1.txt          |   4 +
 .../trace-cmd/trace-cmd-record.1.txt          |   8 +
 .../include/private/trace-cmd-private.h       |   1 +
 lib/trace-cmd/trace-msg.c                     |  15 +-
 tracecmd/include/trace-local.h                |   8 +
 tracecmd/trace-listen.c                       | 196 +++++++++++++-----
 tracecmd/trace-record.c                       |  95 +++++++--
 tracecmd/trace-usage.c                        |   2 +
 8 files changed, 258 insertions(+), 71 deletions(-)

-- 
2.35.1


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

end of thread, other threads:[~2022-04-15  1:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-15  1:10 [PATCH v2 0/5] trace-cmd: Have trace-cmd listen work with vsockets Steven Rostedt
2022-04-15  1:10 ` [PATCH v2 1/5] trace-cmd listen: Remove UDP from function names Steven Rostedt
2022-04-15  1:10 ` [PATCH v2 2/5] trace-cmd listen: Replace bool use_tcp with enum type Steven Rostedt
2022-04-15  1:10 ` [PATCH v2 3/5] trace-cmd record: " Steven Rostedt
2022-04-15  1:10 ` [PATCH v2 4/5] trace-cmd listen: Add vsocket usage Steven Rostedt
2022-04-15  1:10 ` [PATCH v2 5/5] trace-cmd listen: Add documentation on " 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).