Skip to content

bearcove/stax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

672 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A sampling profiler for macOS

Originally a fork of not-perf with some bits of samply baked in (for macOS compatibility), stax is now very much its own codebase.

The goal is pretty much a live version of Instruments.app: see on-cpu and off-cpu stacks as flamegraphs, top-N functions, annotated disassembly etc.

stax uses the private kdebug framework, therefore it has access to things samply doesn't, but it also has more moving pieces:

  • a privileged launchd service for kdebug/kperf attachment
  • a non-prileged (same-user) helper to obtain the task port, read/write inferior memory etc.

A screenshot of stax showing a flamegraph on top, top-N functions bottom-left, and annotated disassembly bottom-right

License

Licensed under either of

at your option.

About

A sampling profiler for macOS

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages