Status of 'Debug Tracing' in gVisor (issue #4805)

7 views
Skip to first unread message

Jonathon Belotti

unread,
Sep 22, 2024, 8:59:59 PM9/22/24
to gVisor Users [Public]
Hey all, 

Our team uses tracing as a performance debugging tool and I was wondering what the status of gVisor's support for it is. 

The most I can finder is here https://github.com/google/gvisor/issues/4805#issuecomment-759052423

UUIC 'runsc trace' is not concerned with 'Debug Tracing' but with what's called 'Auditing' in the above issue. 

Etienne Perot

unread,
Sep 23, 2024, 5:29:02 PM9/23/24
to Jonathon Belotti, gVisor Users [Public]
Can you be more specific as to which type of tracing you are referring to? It's a highly overloaded term.
There's Go tracing (tracing the gVisor Go runtime), then there's syscall tracing (which can either mean "tracing the sandboxed application's system calls" or "tracing `runsc`'s own host system calls"), and then there's "I want to be able to trace this program that's running in gVisor from within gVisor" for any definition of "tracing". As I understand it, the "debug tracing" idea in the issue you linked to is about adding hypothetical seccheck events to the runsc code for debugging runsc, but these haven't been actually added.

Perhaps a more productive question: What is the use-case for the tracing operation you want to do? Is this about gVisor performance, or performance of an application within gVisor? Is it about one specific performance aspect (I/O speed/network speed/etc.) or about finding where a bottleneck is?

--
You received this message because you are subscribed to the Google Groups "gVisor Users [Public]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gvisor-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gvisor-users/0fce484c-05ee-4653-92be-df641781c612n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages