Registry / observability / elastic-go-perf

elastic-go-perf

JSON →
library0.0.0-20191212140718-9c656876f595gogounverified

Package perf provides access to the Linux perf API for measuring performance events.

observabilityutility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

github.com/elastic/go-perf

Create a perf attribute for CPU cycles

package main import ( "fmt" "github.com/elastic/go-perf" ) func main() { attr := &perf.Attr{ Type: perf.HardwareEvent, Config: perf.CPUCycles, } fmt.Println(attr) }
Debug
Known footguns
breakingPackage is experimental and does not offer compatibility guarantees.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
17 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
mj12bot
1
Resources