MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / setupManagerOptions

Method setupManagerOptions

user/module/perf_mmap.go:61–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61func (this *PerfMMAP) setupManagerOptions() {
62 this.bpfManagerOptions = manager.Options{
63 DefaultKProbeMaxActive: 512,
64 VerifierOptions: ebpf.CollectionOptions{
65 Programs: ebpf.ProgramOptions{
66 LogSize: 2097152,
67 },
68 },
69 RLimit: &unix.Rlimit{
70 Cur: math.MaxUint64,
71 Max: math.MaxUint64,
72 },
73 }
74}
75
76func (this *PerfMMAP) Start() error {
77 return this.start()

Callers 1

startMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected