INNER CODE UNIT · Go

convertSessionOptions

grafana-cold-storage/phlare · ebpf/cmd/playground/main.go:48

func convertSessionOptions() ebpfspy.SessionOptions {
	ms := symtab.NewMetrics(prometheus.DefaultRegisterer)
	return ebpfspy.SessionOptions{
		CollectUser:   true,
		CollectKernel: true,
		SampleRate:    11,
		CacheOptions: symtab.CacheOptions{
			PidCacheOptions: symtab.GCacheOptions{
				Size:       239,
				KeepRounds: 3,
			},
			BuildIDCacheOptions: symtab.GCacheOptions{
				Size:       239,
				KeepRounds: 3,
			},
			SameFileCacheOptions: symtab.GCacheOptions{
				Size:       239,
				KeepRounds: 3,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…