qualcomm/easywos/perf-sampling-parser
Claude Code and agent skill by qualcomm/easywos
- community
Checking that the SKILL.md file is still in the repository.
Analyze per-process CPU usage from ETL log files and export SpeedScope flame graphs. Keywords - ETL, flame graph, CPU usage, speedscope.
Install
npx vskill@latest install qualcomm/easywos/perf-sampling-parserSKILL.md
The same SKILL.md was published earlier as qualcomm/easywos/perf-sampling-parser.
⚠️ Do NOT use xperf / WPA / Windows Performance Toolkit to parse ETL files. Follow the steps below for ETL parsing.
Performance Analysis
Analyze per-process CPU usage from an ETL log; after the user selects target processes, export SpeedScope flame graphs.
Path Conventions
<skill_dir>: directory containing this SKILL.md, derived from the path used to read this file- Analysis scripts:
<skill_dir>/scripts/(tool paths are hard-coded inside the scripts; no external paths need to be passed in)
Inputs
- Required: path to the ETL file
- Optional: target process name. When the ETL was just collected for a known
target executable, select that exact process automatically instead of asking the user to choose it again.
- Optional: additional local PDB directories (semicolon-separated, NT symbol
path format).
The default symbol policy is local-only: search the ETL directory and known target/build directories, ignore inherited _NT_SYMBOL_PATH symbol servers, and do not contact Microsoft or any other symbol server. Network/UNC symbol paths and symbol servers require explicit user opt-in.
Outputs
- Required: the output directory is fixed to the directory containing the ETL file.
Steps
Step 1: Analyze the process tree
This command is local-symbol-only by default. Pass --allow-symbol-servers only after the user explicitly opts in to symbol-server access.
Success marker: stdout contains DONE ... OK. On failure, read the first 50 lines of <etl_dir>/temp/pfv_log.txt and report them to the user.
Then read the generated JSON file (path comes from the ProcessTree written to ... line in stdout, typically <etl_dir>/<etl_basename_no_ext>.processtree.json).
Step 1.5: Parse the process tree JSON (using parse_processtree.py)
Use parse_processtree.py to parse the .processtree.json produced in Step 1 and present per-process CPU usage statistics:
Sample output:
Optional arguments:
--top N: show the top N processes (default 15)--min-cpu PCT: only show processes with CPU% >= PCT (default 0)--json-output: emit JSON for programmatic consumption
If no process has cpuPct > 0, tell the user "no CPU sampling data was captured" and list all processes for reference.
Step 2: Select the target process
If the ETL was collected for a known target executable in the current workflow, select its process name (without .exe) automatically. Otherwise, show the Step 1.5 list and ask the user to choose 2-3 process names.
Step 3: Resolve local symbols by default
Use local symbols without another confirmation when the target and its build/PDB directory are already known. Build the local symbol path from:
- the ETL directory;
- the target executable's directory and build directory, when known;
- any additional local PDB directories explicitly supplied by the user.
Do not append _NT_SYMBOL_PATH, UNC paths, SRV* entries, or HTTP(S) symbol servers in this mode. The export script enforces this policy even when the host environment has a corporate or public symbol server configured.
Only when the user explicitly requests symbol-server access, append the requested server path and pass --allow-symbol-servers. Microsoft public symbols remain an opt-in example: SRV*C:\Temp\Symbols*https://msdl.microsoft.com/download/symbols.
Step 4: Export the SpeedScope JSON
Local-only, using the ETL directory:
Local-only, with target/build PDB directories:
Explicit symbol-server opt-in:
Success marker: stdout contains DONE ... OK. On failure, read the first 50 lines of <etl_dir>/temp/pfv_log2.txt and report them to the user.
Step 5: Report the results
Symbol resolution failures (system DLLs or third-party modules without PDBs) are normal and do not affect application-level call stacks.
For details on PerfView command arguments and output format, readreferences/PerfViewCommands.md.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent/skills/perf-sampling-parser/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/qualcomm/easywos/perf-sampling-parser)