heapspy-mcp 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- heapspy_mcp-0.1.1/.gitignore +6 -0
- heapspy_mcp-0.1.1/PKG-INFO +1544 -0
- heapspy_mcp-0.1.1/README.md +1532 -0
- heapspy_mcp-0.1.1/deploy/kubernetes/daemonset.yaml +89 -0
- heapspy_mcp-0.1.1/pyproject.toml +49 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/__init__.py +3 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/__main__.py +167 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/allocations.py +347 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/capture.py +242 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/cli.py +518 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/config.py +380 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/cpu.py +1081 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/processes.py +152 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/py.typed +0 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/pyspy.py +628 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/server.py +545 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/snapshots.py +82 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/source_map.py +700 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/summarize.py +429 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/__init__.py +1296 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/cgroups.py +667 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/colocation.py +654 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/diagnose.py +1042 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/groups.py +553 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/listing.py +64 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/perf.py +424 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/probe.py +354 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/procfs.py +629 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/redact.py +105 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/sampling.py +267 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/search.py +1116 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/stalls.py +731 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/taskstats.py +166 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/views.py +635 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/wait_categories.py +379 -0
- heapspy_mcp-0.1.1/src/heapspy_mcp/system/windows.py +425 -0
- heapspy_mcp-0.1.1/tests/__init__.py +0 -0
- heapspy_mcp-0.1.1/tests/conftest.py +141 -0
- heapspy_mcp-0.1.1/tests/contention_worker.c +31 -0
- heapspy_mcp-0.1.1/tests/contention_workload.py +118 -0
- heapspy_mcp-0.1.1/tests/cpu_victims.py +72 -0
- heapspy_mcp-0.1.1/tests/fake_heapspy.py +420 -0
- heapspy_mcp-0.1.1/tests/fake_pyspy.py +193 -0
- heapspy_mcp-0.1.1/tests/fixtures/contention/diag_api_2c_signals.json +63 -0
- heapspy_mcp-0.1.1/tests/fixtures/contention/sched_5_15.txt +25 -0
- heapspy_mcp-0.1.1/tests/fixtures/contention/sched_6_18.txt +28 -0
- heapspy_mcp-0.1.1/tests/fixtures/heapspy/README.md +132 -0
- heapspy_mcp-0.1.1/tests/fixtures/heapspy/analyze_allocations.json +287 -0
- heapspy_mcp-0.1.1/tests/fixtures/heapspy/contract.hpya +0 -0
- heapspy_mcp-0.1.1/tests/fixtures/heapspy/contract.snapshot +0 -0
- heapspy_mcp-0.1.1/tests/fixtures/heapspy/dump.json +28 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/cgroup_events_5.0.txt +1 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/cgroup_events_frozen_6.18.txt +2 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/cpu_stat_v1_6.18.txt +5 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/cpu_stat_v2_5.15.txt +6 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/cpu_stat_v2_6.6.txt +9 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/cpu_stat_v2root_6.18.txt +4 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/freezer_state_v1.txt +1 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/kernel_stacks.txt +293 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/meminfo_6.18.txt +54 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/memory_events_v2_5.4.txt +5 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/memory_events_v2_6.6.txt +6 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/memory_oom_control_v1_6.18.txt +3 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/memory_stat_v1_5.4.txt +40 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/memory_stat_v1_6.18.txt +42 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/memory_stat_v2_6.6.txt +53 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/mountinfo_hybrid_6.18.txt +12 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/mountinfo_v1_combined.txt +5 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/mountinfo_v2_only.txt +3 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/pid_cgroup_hybrid_6.18.txt +10 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/pid_cgroup_v1_cgroupfs.txt +5 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/pid_cgroup_v2_kubepods.txt +1 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/proc_schedstat_v15.txt +6 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/proc_schedstat_v16.txt +5 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/proc_schedstat_v17.txt +4 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/proc_schedstat_v99.txt +2 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/proc_stat_2.6_short.txt +6 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/proc_stat_5.4.txt +10 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/proc_stat_6.18.txt +12 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/psi_cpu_5.4.txt +1 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/psi_cpu_6.18.txt +2 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/psi_io_6.18.txt +2 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/psi_memory_5.4.txt +2 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/psi_memory_cgroup_6.18.txt +2 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/smaps_rollup_6.18.txt +23 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/stat_5.4_comm_with_parens.txt +1 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/stat_6.18.txt +1 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/status_5.4.txt +23 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/status_6.18.txt +59 -0
- heapspy_mcp-0.1.1/tests/fixtures/system/vmstat_6.18.txt +192 -0
- heapspy_mcp-0.1.1/tests/test_allocations.py +280 -0
- heapspy_mcp-0.1.1/tests/test_analysis_tools.py +222 -0
- heapspy_mcp-0.1.1/tests/test_capture.py +328 -0
- heapspy_mcp-0.1.1/tests/test_cli.py +228 -0
- heapspy_mcp-0.1.1/tests/test_colocation.py +150 -0
- heapspy_mcp-0.1.1/tests/test_config.py +150 -0
- heapspy_mcp-0.1.1/tests/test_contention_live.py +311 -0
- heapspy_mcp-0.1.1/tests/test_contention_parsers.py +115 -0
- heapspy_mcp-0.1.1/tests/test_contention_tools.py +156 -0
- heapspy_mcp-0.1.1/tests/test_contract_real.py +527 -0
- heapspy_mcp-0.1.1/tests/test_cpu.py +474 -0
- heapspy_mcp-0.1.1/tests/test_cpu_integration.py +227 -0
- heapspy_mcp-0.1.1/tests/test_diagnose.py +303 -0
- heapspy_mcp-0.1.1/tests/test_diagnose_contention.py +118 -0
- heapspy_mcp-0.1.1/tests/test_groups.py +105 -0
- heapspy_mcp-0.1.1/tests/test_perf.py +195 -0
- heapspy_mcp-0.1.1/tests/test_probe.py +33 -0
- heapspy_mcp-0.1.1/tests/test_processes.py +130 -0
- heapspy_mcp-0.1.1/tests/test_pyspy.py +367 -0
- heapspy_mcp-0.1.1/tests/test_redact.py +72 -0
- heapspy_mcp-0.1.1/tests/test_search_live.py +224 -0
- heapspy_mcp-0.1.1/tests/test_server.py +72 -0
- heapspy_mcp-0.1.1/tests/test_slice_fit.py +115 -0
- heapspy_mcp-0.1.1/tests/test_source_locations.py +241 -0
- heapspy_mcp-0.1.1/tests/test_source_map.py +499 -0
- heapspy_mcp-0.1.1/tests/test_stall_parsers.py +241 -0
- heapspy_mcp-0.1.1/tests/test_stalls.py +271 -0
- heapspy_mcp-0.1.1/tests/test_stalls_live.py +461 -0
- heapspy_mcp-0.1.1/tests/test_stdio.py +36 -0
- heapspy_mcp-0.1.1/tests/test_system_live.py +242 -0
- heapspy_mcp-0.1.1/tests/test_system_parsers.py +328 -0
- heapspy_mcp-0.1.1/tests/test_windows.py +38 -0
- heapspy_mcp-0.1.1/uv.lock +1340 -0