Skip to content

v0.2.0

Latest

Choose a tag to compare

@robtaylor robtaylor released this 13 Mar 01:47
· 64 commits to main since this release

What's New

Time Profiler & Metal System Trace support

profiler_cpu_samples and profiler_top_functions now work with traces from Time Profiler and Metal System Trace templates (which use the time-profile schema), not just CPU Profiler traces. Previously these returned an error saying the trace didn't contain CPU profile data.

Time-range filtering

Both profiler_cpu_samples and profiler_top_functions accept optional start_time_ns / end_time_ns parameters to scope analysis to a specific time window — useful for zooming into hot regions of a trace.

Improved discoverability

  • profiler_cpu_samples is now titled "Get CPU Samples with Stack Traces" so users know it returns full backtraces
  • Tool descriptions mention compatibility with CPU Profiler, Time Profiler, and Metal System Trace

Generic table queries (from v0.1.0)

  • profiler_query_table for querying any Instruments table by schema name (Metal GPU intervals, thermal state, etc.)
  • profiler_list_tables for discovering available schemas

Documentation

  • Added README with installation, tools reference, usage examples, and development guide
  • Updated plugin descriptions to mention Metal/GPU support

Full Changelog

https://github.com/robtaylor/apple-profiler/commits/v0.2.0