Skip to content

Multiple profiler modes #3

@cristaloleg

Description

@cristaloleg

This should work as expected: enable 2 profilers at once

func ExampleMultipleModes() {
	modes := []string{easypprof.HeapMode, easypprof.MutexMode}

	cfg := easypprof.Config{
		Mode: strings.Join(modes, ","),
	}
	defer easypprof.Start(cfg).Stop()

	// Output:
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions