We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a70610b commit 9cce3f9Copy full SHA for 9cce3f9
1 file changed
ebpf/session.go
@@ -63,6 +63,7 @@ type Session interface {
63
Update(SessionOptions) error
64
UpdateTargets(args sd.TargetsOptions)
65
DebugInfo() interface{}
66
+ SymbolCache() *symtab.SymbolCache
67
}
68
69
type SessionDebugInfo struct {
@@ -281,6 +282,10 @@ func (s *session) CollectProfiles(cb pprof.CollectProfilesCallback) error {
281
282
return nil
283
284
285
+func (s *session) SymbolCache() *symtab.SymbolCache {
286
+ return s.symCache
287
+}
288
+
289
func (s *session) DebugInfo() interface{} {
290
pv, _ := os.ReadFile("/proc/version")
291
s.mutex.Lock()
0 commit comments