probing 0.2.3__tar.gz → 0.2.4__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.
- {probing-0.2.3 → probing-0.2.4}/.github/actions/setup-build-env/action.yml +2 -2
- probing-0.2.4/.github/workflows/docs.yml +81 -0
- {probing-0.2.3 → probing-0.2.4}/.gitignore +2 -0
- {probing-0.2.3 → probing-0.2.4}/.pre-commit-config.yaml +10 -9
- {probing-0.2.3 → probing-0.2.4}/Cargo.lock +10 -9
- {probing-0.2.3 → probing-0.2.4}/Cargo.toml +2 -1
- {probing-0.2.3 → probing-0.2.4}/PKG-INFO +8 -8
- probing-0.2.4/docs/Makefile +40 -0
- probing-0.2.4/docs/README.md +90 -0
- probing-0.2.4/docs/mkdocs.yml +149 -0
- probing-0.2.4/docs/overrides/home.html +767 -0
- probing-0.2.4/docs/pyproject.toml +21 -0
- probing-0.2.4/docs/requirements.txt +10 -0
- probing-0.2.4/docs/src/api-reference.md +274 -0
- probing-0.2.4/docs/src/api-reference.zh.md +194 -0
- probing-0.2.4/docs/src/assets/stylesheets/home.css +223 -0
- probing-0.2.4/docs/src/contributing.md +197 -0
- probing-0.2.4/docs/src/contributing.zh.md +197 -0
- probing-0.2.4/docs/src/design/architecture.md +173 -0
- probing-0.2.4/docs/src/design/architecture.zh.md +173 -0
- probing-0.2.4/docs/src/design/debugging.md +208 -0
- probing-0.2.4/docs/src/design/debugging.zh.md +185 -0
- probing-0.2.4/docs/src/design/distributed.md +217 -0
- probing-0.2.4/docs/src/design/distributed.zh.md +217 -0
- probing-0.2.4/docs/src/design/extensibility.md +277 -0
- probing-0.2.4/docs/src/design/extensibility.zh.md +277 -0
- probing-0.2.4/docs/src/design/index.md +49 -0
- probing-0.2.4/docs/src/design/index.zh.md +49 -0
- probing-0.2.4/docs/src/design/profiling.md +191 -0
- probing-0.2.4/docs/src/design/profiling.zh.md +163 -0
- probing-0.2.4/docs/src/examples/index.md +81 -0
- probing-0.2.4/docs/src/examples/index.zh.md +81 -0
- probing-0.2.4/docs/src/examples/memory-leak.md +268 -0
- probing-0.2.4/docs/src/examples/memory-leak.zh.md +268 -0
- probing-0.2.4/docs/src/examples/performance-analysis.md +262 -0
- probing-0.2.4/docs/src/examples/performance-analysis.zh.md +262 -0
- probing-0.2.4/docs/src/examples/training-debugging.md +221 -0
- probing-0.2.4/docs/src/examples/training-debugging.zh.md +220 -0
- probing-0.2.4/docs/src/guide/debugging.md +229 -0
- probing-0.2.4/docs/src/guide/debugging.zh.md +177 -0
- probing-0.2.4/docs/src/guide/index.md +67 -0
- probing-0.2.4/docs/src/guide/index.zh.md +67 -0
- probing-0.2.4/docs/src/guide/memory-analysis.md +217 -0
- probing-0.2.4/docs/src/guide/memory-analysis.zh.md +190 -0
- probing-0.2.4/docs/src/guide/sql-analytics.md +171 -0
- probing-0.2.4/docs/src/guide/sql-analytics.zh.md +171 -0
- probing-0.2.4/docs/src/guide/troubleshooting.md +272 -0
- probing-0.2.4/docs/src/guide/troubleshooting.zh.md +185 -0
- probing-0.2.4/docs/src/index.md +46 -0
- probing-0.2.4/docs/src/index.zh.md +46 -0
- {probing-0.2.3/docs/getting-started → probing-0.2.4/docs/src}/installation.md +20 -5
- probing-0.2.4/docs/src/installation.zh.md +82 -0
- probing-0.2.4/docs/src/quickstart.md +147 -0
- probing-0.2.4/docs/src/quickstart.zh.md +147 -0
- probing-0.2.4/docs/src/versions.md +114 -0
- probing-0.2.4/docs/src/versions.zh.md +114 -0
- {probing-0.2.3 → probing-0.2.4}/examples/ray_tracing_example.py +2 -1
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/cli/inject.rs +10 -1
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/inject/injection_aarch64.rs +33 -33
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/cc/src/extensions/taskstats/datasrc.rs +1 -1
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/cc/src/extensions/taskstats.rs +1 -1
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/extensions/python.rs +13 -2
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/pprof.rs +11 -3
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/torch.rs +41 -36
- probing-0.2.4/probing/extensions/python/src/repl/console.rs +50 -0
- probing-0.2.4/probing/proto/src/dto/basic.rs +120 -0
- probing-0.2.4/probing/proto/src/dto/dataframe.rs +62 -0
- probing-0.2.4/probing/proto/src/dto/mod.rs +5 -0
- probing-0.2.4/probing/proto/src/dto/query.rs +212 -0
- probing-0.2.4/probing/proto/src/dto/time_series.rs +57 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/lib.rs +4 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/Cargo.toml +1 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/server/mod.rs +2 -0
- probing-0.2.4/probing/server/src/server/query_dto.rs +95 -0
- {probing-0.2.3 → probing-0.2.4}/pyproject.toml +1 -1
- probing-0.2.4/python/probing/cli/__main__.py +16 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/core/engine.py +2 -2
- {probing-0.2.3 → probing-0.2.4}/python/probing/ext/torch.py +8 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/handlers/pythonext.py +35 -1
- {probing-0.2.3 → probing-0.2.4}/python/probing/inspect/torch.py +27 -15
- {probing-0.2.3 → probing-0.2.4}/python/probing/inspect/trace.py +95 -8
- {probing-0.2.3 → probing-0.2.4}/python/probing/profiling/torch/module_utils.py +3 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/profiling/torch_probe.py +76 -9
- probing-0.2.4/python/probing/repl/help_magic.py +496 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing_hook.py +22 -1
- probing-0.2.4/ruff.toml +6 -0
- {probing-0.2.3 → probing-0.2.4}/src/lib.rs +41 -12
- {probing-0.2.3 → probing-0.2.4}/tests/repl/test_help_magic.py +0 -1
- {probing-0.2.3 → probing-0.2.4}/tests/repl/test_query_magic.py +1 -2
- probing-0.2.3/docs/Makefile +0 -29
- probing-0.2.3/docs/README.md +0 -173
- probing-0.2.3/docs/README_DEPLOYMENT.md +0 -97
- probing-0.2.3/docs/advanced/architecture.md +0 -273
- probing-0.2.3/docs/advanced/performance.md +0 -402
- probing-0.2.3/docs/build.md +0 -252
- probing-0.2.3/docs/build.sh +0 -23
- probing-0.2.3/docs/conf.py +0 -80
- probing-0.2.3/docs/design/README.md +0 -15
- probing-0.2.3/docs/design/architecture.md +0 -14
- probing-0.2.3/docs/design/debugging.md +0 -1
- probing-0.2.3/docs/design/distributed.md +0 -1
- probing-0.2.3/docs/design/extensibility.md +0 -195
- probing-0.2.3/docs/design/profiling.md +0 -1
- probing-0.2.3/docs/development/building.md +0 -453
- probing-0.2.3/docs/getting-started/introduction.md +0 -452
- probing-0.2.3/docs/index.rst +0 -51
- probing-0.2.3/docs/intro.typ +0 -95
- probing-0.2.3/docs/mermaid.min.js +0 -2186
- probing-0.2.3/docs/requirements_doc.txt +0 -7
- probing-0.2.3/docs/serve.sh +0 -32
- probing-0.2.3/docs/src/README.md +0 -54
- probing-0.2.3/docs/src/SUMMARY.md +0 -21
- probing-0.2.3/docs/src/advanced/architecture.md +0 -259
- probing-0.2.3/docs/src/advanced/performance.md +0 -393
- probing-0.2.3/docs/src/design/README.md +0 -15
- probing-0.2.3/docs/src/design/architecture.md +0 -12
- probing-0.2.3/docs/src/design/extensibility.md +0 -195
- probing-0.2.3/docs/src/development/building.md +0 -453
- probing-0.2.3/docs/src/getting-started/introduction.md +0 -452
- probing-0.2.3/docs/src/user-guide/debugging.md +0 -414
- probing-0.2.3/docs/src/user-guide/memory-analysis.md +0 -625
- probing-0.2.3/docs/src/user-guide/sql-analytics.md +0 -389
- probing-0.2.3/docs/user-guide/debugging.md +0 -417
- probing-0.2.3/docs/user-guide/memory-analysis.md +0 -625
- probing-0.2.3/docs/user-guide/sql-analytics.md +0 -389
- probing-0.2.3/docs/user-guide/troubleshooting.md +0 -0
- probing-0.2.3/probing/extensions/python/src/repl/console.rs +0 -46
- probing-0.2.3/python/probing/cli/__main__.py +0 -21
- probing-0.2.3/python/probing/repl/help_magic.py +0 -323
- {probing-0.2.3 → probing-0.2.4}/.cargo/config.toml +0 -0
- {probing-0.2.3 → probing-0.2.4}/.github/workflows/pypi.yml +0 -0
- {probing-0.2.3 → probing-0.2.4}/.github/workflows/test.yml +0 -0
- {probing-0.2.3 → probing-0.2.4}/.readthedocs.yml +0 -0
- {probing-0.2.3 → probing-0.2.4}/LICENSE +0 -0
- {probing-0.2.3 → probing-0.2.4}/Makefile +0 -0
- {probing-0.2.3 → probing-0.2.4}/README.cn.md +0 -0
- {probing-0.2.3 → probing-0.2.4}/README.md +0 -0
- {probing-0.2.3 → probing-0.2.4}/conftest.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/docs/.gitignore +0 -0
- {probing-0.2.3 → probing-0.2.4}/examples/bench_profiler.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/examples/child_test_probing.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/examples/events.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/examples/external_table.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/examples/external_table_retirement.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/examples/hooks.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/examples/imagenet.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/examples/imagenet_with_span.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/examples/job_tracker.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/examples/job_tracker_via_init.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/examples/nogil_sleep.pyx +0 -0
- {probing-0.2.3 → probing-0.2.4}/examples/test_probing.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/Cargo.toml +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/build.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/cli/commands.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/cli/ctrl.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/cli/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/cli/process_monitor.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/cli/ptree.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/cli/repl.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/cli/store.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/inject/README.md +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/inject/injection.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/inject/injection_trait.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/inject/libc_addresses.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/inject/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/inject/process.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/lib.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/main.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/src/table.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/cli/tests/test_aarch64.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/Cargo.toml +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/config.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/core/arrow_convert.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/core/cluster.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/core/cluster_model.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/core/engine.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/core/error.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/core/extension.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/core/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/core/plugin.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/lib.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/storage/addressing.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/storage/distributed.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/storage/entity.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/storage/mem_store.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/storage/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/storage/remote_client.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/storage/topology.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/trace/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/trace/span.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/src/tracing.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/tests/distributed_storage_integration.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/tests/engine_complex_tests.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/core/tests/test_helpers.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/crates/store/Cargo.toml +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/crates/store/src/lib.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/crates/store/src/store/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/crates/store/src/store/tcpstore.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/cc/Cargo.toml +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/cc/src/extensions/cluster.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/cc/src/extensions/envs.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/cc/src/extensions/files.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/cc/src/extensions/kmsg.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/cc/src/extensions/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/cc/src/extensions/rdma.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/cc/src/lib.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/Cargo.toml +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/build.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/extensions/pprof.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/extensions/python/exttbls.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/extensions/python/stack.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/extensions/python/stack_get_threads.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/extensions/python/tbls.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/extensions/torch.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/extensions.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/config.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/convert.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/python_api.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/README.md +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/call.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/ffi.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/v2_7_15.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/v3_10_0.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/v3_11_0.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/v3_12_0.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/v3_13_0.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/v3_3_7.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/v3_4_8.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/v3_5_5.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/v3_6_6.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/v3_7_0.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/v3_8_0.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/v3_9_5.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_bindings/version.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/spy/python_interpreters.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/stack_tracer.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/tracing.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/features/vm_tracer.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/lib.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/pkg/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/pycode/crash_handler.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/pycode/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/python.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/repl/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/repl/python_repl.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/extensions/python/src/setup.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/macros/Cargo.toml +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/macros/src/lib.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/macros/tests/test_macros.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/Cargo.toml +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/benches/bench_series.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/examples/time_series.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/protocol/cluster.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/protocol/message.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/protocol/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/protocol/process.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/protocol/query.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/protocol/version.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/types/basic.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/types/compress.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/types/convert.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/types/dataframe.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/types/error.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/types/mod.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/types/series.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/src/types/time_series.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/proto/tests/basic_tests.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/AUTH.md +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/MIDDLEWARE.md +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/asset.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/auth.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/engine.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/extensions.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/lib.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/report.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/server/apis.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/server/cluster.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/server/config.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/server/error.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/server/extension_handler.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/server/file_api.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/server/middleware.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/server/profiling.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/server/repl.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/server/system.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/src/vars.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/tests/auth_complex_tests.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing/server/tests/file_api_complex_tests.rs +0 -0
- {probing-0.2.3 → probing-0.2.4}/probing.svg +0 -0
- {probing-0.2.3 → probing-0.2.4}/pytest.ini +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/cli/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/config.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/core/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/core/table.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/ext/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/ext/example.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/ext/ray.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/handlers/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/handlers/router.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/hooks/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/hooks/import_hook.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/inspect/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/profiling/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/profiling/collective/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/profiling/collective/coll.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/profiling/torch/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/profiling/torch/step.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/profiling/types.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/repl/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/repl/debug_magic.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/repl/inspect_magic.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/repl/query_magic.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/repl/stack_magic.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/repl/torch_magic.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/testing/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/tracing.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/utils/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing/utils/py.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/python/probing.pth +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/core/test_config.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/core/test_engine.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/core/test_init.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/ext/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/ext/test_python_ext.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/ext/test_python_tracer.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/ext/test_tracing_span.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/handlers/test_python_handlers.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/inspect/test_trace_helpers.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/repl/__init__.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/tbls/test_python_tbls.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/test_import_hook.py +0 -0
- {probing-0.2.3 → probing-0.2.4}/tests/test_py_to_table.rs +0 -0
|
@@ -64,9 +64,9 @@ runs:
|
|
|
64
64
|
run: |
|
|
65
65
|
test -e ~/.cargo/bin/cargo-zigbuild || cargo install cargo-zigbuild
|
|
66
66
|
test -e ~/.cargo/bin/rnr || cargo install rnr
|
|
67
|
-
test -e ~/.cargo/bin/cargo-nextest || cargo install cargo-nextest
|
|
67
|
+
test -e ~/.cargo/bin/cargo-nextest || cargo install --locked cargo-nextest
|
|
68
68
|
test -e ~/.cargo/bin/cargo-binstall || cargo install cargo-binstall
|
|
69
|
-
test -e ~/.cargo/bin/dx || cargo binstall dioxus-cli -y
|
|
69
|
+
test -e ~/.cargo/bin/dx || cargo binstall dioxus-cli@0.7.0 -y
|
|
70
70
|
test -e ~/.cargo/bin/trunk || cargo install trunk --locked
|
|
71
71
|
|
|
72
72
|
- name: Install Python Build Dependencies
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
name: Deploy Documentation
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
- master
|
|
8
|
+
paths:
|
|
9
|
+
- 'docs/**'
|
|
10
|
+
- '.github/workflows/docs.yml'
|
|
11
|
+
pull_request:
|
|
12
|
+
branches:
|
|
13
|
+
- main
|
|
14
|
+
- master
|
|
15
|
+
paths:
|
|
16
|
+
- 'docs/**'
|
|
17
|
+
workflow_dispatch: # Allow manual trigger
|
|
18
|
+
|
|
19
|
+
permissions:
|
|
20
|
+
contents: write
|
|
21
|
+
|
|
22
|
+
jobs:
|
|
23
|
+
build:
|
|
24
|
+
name: Build docs
|
|
25
|
+
runs-on: ubuntu-latest
|
|
26
|
+
steps:
|
|
27
|
+
- name: Checkout repository
|
|
28
|
+
uses: actions/checkout@v4
|
|
29
|
+
with:
|
|
30
|
+
fetch-depth: 0 # Fetch all history for git-based plugins
|
|
31
|
+
|
|
32
|
+
- name: Set up Python
|
|
33
|
+
uses: actions/setup-python@v5
|
|
34
|
+
with:
|
|
35
|
+
python-version: '3.11'
|
|
36
|
+
|
|
37
|
+
- name: Install dependencies
|
|
38
|
+
run: |
|
|
39
|
+
pip install --upgrade pip
|
|
40
|
+
pip install -r docs/requirements.txt
|
|
41
|
+
|
|
42
|
+
- name: Build documentation
|
|
43
|
+
run: |
|
|
44
|
+
cd docs
|
|
45
|
+
mkdocs build --strict
|
|
46
|
+
|
|
47
|
+
- name: Upload build artifact
|
|
48
|
+
if: github.event_name == 'pull_request'
|
|
49
|
+
uses: actions/upload-artifact@v4
|
|
50
|
+
with:
|
|
51
|
+
name: docs-site
|
|
52
|
+
path: docs/site/
|
|
53
|
+
retention-days: 7
|
|
54
|
+
|
|
55
|
+
deploy:
|
|
56
|
+
name: Deploy docs
|
|
57
|
+
runs-on: ubuntu-latest
|
|
58
|
+
needs: build
|
|
59
|
+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
|
|
60
|
+
steps:
|
|
61
|
+
- name: Checkout repository
|
|
62
|
+
uses: actions/checkout@v4
|
|
63
|
+
with:
|
|
64
|
+
fetch-depth: 0
|
|
65
|
+
|
|
66
|
+
- name: Set up Python
|
|
67
|
+
uses: actions/setup-python@v5
|
|
68
|
+
with:
|
|
69
|
+
python-version: '3.11'
|
|
70
|
+
|
|
71
|
+
- name: Install dependencies
|
|
72
|
+
run: |
|
|
73
|
+
pip install --upgrade pip
|
|
74
|
+
pip install -r docs/requirements.txt
|
|
75
|
+
|
|
76
|
+
- name: Deploy to GitHub Pages
|
|
77
|
+
run: |
|
|
78
|
+
cd docs
|
|
79
|
+
mkdocs gh-deploy --force --config-file mkdocs.yml
|
|
80
|
+
env:
|
|
81
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -5,6 +5,7 @@ repos:
|
|
|
5
5
|
rev: v4.5.0
|
|
6
6
|
hooks:
|
|
7
7
|
- id: check-yaml
|
|
8
|
+
exclude: ^docs/mkdocs\.yml$ # mkdocs.yml uses !!python/name tags
|
|
8
9
|
- id: check-toml
|
|
9
10
|
- id: end-of-file-fixer
|
|
10
11
|
- id: trailing-whitespace
|
|
@@ -20,12 +21,12 @@ repos:
|
|
|
20
21
|
hooks:
|
|
21
22
|
- id: black
|
|
22
23
|
|
|
23
|
-
- repo: local
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
# - repo: local
|
|
25
|
+
# hooks:
|
|
26
|
+
# - id: cargo-fmt
|
|
27
|
+
# name: cargo fmt
|
|
28
|
+
# description: Format Rust code
|
|
29
|
+
# entry: cargo fmt
|
|
30
|
+
# language: system
|
|
31
|
+
# types: [rust]
|
|
32
|
+
# pass_filenames: false
|
|
@@ -3203,7 +3203,7 @@ dependencies = [
|
|
|
3203
3203
|
|
|
3204
3204
|
[[package]]
|
|
3205
3205
|
name = "probing"
|
|
3206
|
-
version = "0.2.
|
|
3206
|
+
version = "0.2.4"
|
|
3207
3207
|
dependencies = [
|
|
3208
3208
|
"anyhow",
|
|
3209
3209
|
"arrow",
|
|
@@ -3222,7 +3222,7 @@ dependencies = [
|
|
|
3222
3222
|
|
|
3223
3223
|
[[package]]
|
|
3224
3224
|
name = "probing-cc"
|
|
3225
|
-
version = "0.2.
|
|
3225
|
+
version = "0.2.4"
|
|
3226
3226
|
dependencies = [
|
|
3227
3227
|
"anyhow",
|
|
3228
3228
|
"async-trait",
|
|
@@ -3238,7 +3238,7 @@ dependencies = [
|
|
|
3238
3238
|
|
|
3239
3239
|
[[package]]
|
|
3240
3240
|
name = "probing-cli"
|
|
3241
|
-
version = "0.2.
|
|
3241
|
+
version = "0.2.4"
|
|
3242
3242
|
dependencies = [
|
|
3243
3243
|
"anyhow",
|
|
3244
3244
|
"clap 4.5.38",
|
|
@@ -3266,7 +3266,7 @@ dependencies = [
|
|
|
3266
3266
|
|
|
3267
3267
|
[[package]]
|
|
3268
3268
|
name = "probing-core"
|
|
3269
|
-
version = "0.2.
|
|
3269
|
+
version = "0.2.4"
|
|
3270
3270
|
dependencies = [
|
|
3271
3271
|
"anyhow",
|
|
3272
3272
|
"arrow",
|
|
@@ -3291,7 +3291,7 @@ dependencies = [
|
|
|
3291
3291
|
|
|
3292
3292
|
[[package]]
|
|
3293
3293
|
name = "probing-macros"
|
|
3294
|
-
version = "0.2.
|
|
3294
|
+
version = "0.2.4"
|
|
3295
3295
|
dependencies = [
|
|
3296
3296
|
"probing-core",
|
|
3297
3297
|
"quote",
|
|
@@ -3300,7 +3300,7 @@ dependencies = [
|
|
|
3300
3300
|
|
|
3301
3301
|
[[package]]
|
|
3302
3302
|
name = "probing-proto"
|
|
3303
|
-
version = "0.2.
|
|
3303
|
+
version = "0.2.4"
|
|
3304
3304
|
dependencies = [
|
|
3305
3305
|
"anyhow",
|
|
3306
3306
|
"arrow",
|
|
@@ -3316,7 +3316,7 @@ dependencies = [
|
|
|
3316
3316
|
|
|
3317
3317
|
[[package]]
|
|
3318
3318
|
name = "probing-python"
|
|
3319
|
-
version = "0.2.
|
|
3319
|
+
version = "0.2.4"
|
|
3320
3320
|
dependencies = [
|
|
3321
3321
|
"anyhow",
|
|
3322
3322
|
"async-trait",
|
|
@@ -3346,7 +3346,7 @@ dependencies = [
|
|
|
3346
3346
|
|
|
3347
3347
|
[[package]]
|
|
3348
3348
|
name = "probing-server"
|
|
3349
|
-
version = "0.2.
|
|
3349
|
+
version = "0.2.4"
|
|
3350
3350
|
dependencies = [
|
|
3351
3351
|
"anyhow",
|
|
3352
3352
|
"axum",
|
|
@@ -3364,6 +3364,7 @@ dependencies = [
|
|
|
3364
3364
|
"probing-proto",
|
|
3365
3365
|
"probing-python",
|
|
3366
3366
|
"procfs",
|
|
3367
|
+
"serde",
|
|
3367
3368
|
"serde_json",
|
|
3368
3369
|
"serde_urlencoded",
|
|
3369
3370
|
"tempfile",
|
|
@@ -3373,7 +3374,7 @@ dependencies = [
|
|
|
3373
3374
|
|
|
3374
3375
|
[[package]]
|
|
3375
3376
|
name = "probing-store"
|
|
3376
|
-
version = "0.2.
|
|
3377
|
+
version = "0.2.4"
|
|
3377
3378
|
dependencies = [
|
|
3378
3379
|
"thiserror 2.0.12",
|
|
3379
3380
|
"tokio",
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
cargo-features = ["codegen-backend"]
|
|
2
2
|
|
|
3
3
|
[workspace]
|
|
4
|
+
members = ["probing/cli", "probing/proto", "probing/core", "probing/extensions/cc", "probing/extensions/python", "probing/server", "probing/crates/store"]
|
|
4
5
|
|
|
5
6
|
[workspace.package]
|
|
6
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.4"
|
|
7
8
|
authors = ["reiase <reiase@gmail.com>"]
|
|
8
9
|
edition = "2021"
|
|
9
10
|
license = "Apache-2.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: probing
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: Intended Audience :: Science/Research
|
|
@@ -19,10 +19,6 @@ Classifier: Topic :: Software Development :: Debuggers
|
|
|
19
19
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
20
|
Classifier: Operating System :: POSIX :: Linux
|
|
21
21
|
Classifier: Operating System :: MacOS
|
|
22
|
-
Requires-Dist: pytest>=8.0 ; python_full_version >= '3.8' and extra == 'test'
|
|
23
|
-
Requires-Dist: pytest<8.0 ; python_full_version < '3.8' and extra == 'test'
|
|
24
|
-
Requires-Dist: pytest-cov>=4.0 ; extra == 'test'
|
|
25
|
-
Requires-Dist: coverage>=7.0 ; extra == 'test'
|
|
26
22
|
Requires-Dist: pytest>=8.0 ; python_full_version >= '3.8' and extra == 'dev'
|
|
27
23
|
Requires-Dist: pytest<8.0 ; python_full_version < '3.8' and extra == 'dev'
|
|
28
24
|
Requires-Dist: pytest-cov>=4.0 ; extra == 'dev'
|
|
@@ -30,8 +26,12 @@ Requires-Dist: coverage>=7.0 ; extra == 'dev'
|
|
|
30
26
|
Requires-Dist: ruff>=0.1.0 ; extra == 'dev'
|
|
31
27
|
Requires-Dist: black>=24.0 ; python_full_version >= '3.8' and extra == 'dev'
|
|
32
28
|
Requires-Dist: black<24.0 ; python_full_version < '3.8' and extra == 'dev'
|
|
33
|
-
|
|
29
|
+
Requires-Dist: pytest>=8.0 ; python_full_version >= '3.8' and extra == 'test'
|
|
30
|
+
Requires-Dist: pytest<8.0 ; python_full_version < '3.8' and extra == 'test'
|
|
31
|
+
Requires-Dist: pytest-cov>=4.0 ; extra == 'test'
|
|
32
|
+
Requires-Dist: coverage>=7.0 ; extra == 'test'
|
|
34
33
|
Provides-Extra: dev
|
|
34
|
+
Provides-Extra: test
|
|
35
35
|
License-File: LICENSE
|
|
36
36
|
Summary: Dynamic Performance Profiler for Distributed AI
|
|
37
37
|
Keywords: debug,performance,profiling,ai,distributed,monitoring
|
|
@@ -40,10 +40,10 @@ Author-email: reiase <reiase@gmail.com>
|
|
|
40
40
|
License: Apache-2.0
|
|
41
41
|
Requires-Python: >=3.7
|
|
42
42
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
43
|
-
Project-URL: Homepage, https://github.com/reiase/probing
|
|
44
|
-
Project-URL: Repository, https://github.com/reiase/probing
|
|
45
43
|
Project-URL: Documentation, https://github.com/reiase/probing
|
|
44
|
+
Project-URL: Homepage, https://github.com/reiase/probing
|
|
46
45
|
Project-URL: Issues, https://github.com/reiase/probing/issues
|
|
46
|
+
Project-URL: Repository, https://github.com/reiase/probing
|
|
47
47
|
|
|
48
48
|
# Probing - Dynamic Performance Profiler for Distributed AI
|
|
49
49
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Makefile for Probing Documentation (MkDocs)
|
|
2
|
+
|
|
3
|
+
.PHONY: help install serve build clean deploy
|
|
4
|
+
|
|
5
|
+
# Default target
|
|
6
|
+
help:
|
|
7
|
+
@echo "Probing Documentation Build System"
|
|
8
|
+
@echo ""
|
|
9
|
+
@echo "Usage:"
|
|
10
|
+
@echo " make install Install documentation dependencies"
|
|
11
|
+
@echo " make serve Start live preview server with auto-reload"
|
|
12
|
+
@echo " make build Build static documentation site"
|
|
13
|
+
@echo " make clean Remove built documentation"
|
|
14
|
+
@echo " make deploy Deploy to GitHub Pages"
|
|
15
|
+
|
|
16
|
+
# Install dependencies
|
|
17
|
+
install:
|
|
18
|
+
@echo "Installing documentation dependencies..."
|
|
19
|
+
pip install mkdocs mkdocs-material mkdocs-material-extensions mkdocstrings mkdocstrings-python
|
|
20
|
+
|
|
21
|
+
# Live preview server
|
|
22
|
+
serve:
|
|
23
|
+
@echo "Starting live preview server..."
|
|
24
|
+
@echo "Open http://127.0.0.1:8000 in your browser"
|
|
25
|
+
mkdocs serve --dev-addr 0.0.0.0:8000
|
|
26
|
+
|
|
27
|
+
# Build static site
|
|
28
|
+
build:
|
|
29
|
+
@echo "Building documentation..."
|
|
30
|
+
mkdocs build
|
|
31
|
+
|
|
32
|
+
# Clean build artifacts
|
|
33
|
+
clean:
|
|
34
|
+
@echo "Cleaning build artifacts..."
|
|
35
|
+
rm -rf site/
|
|
36
|
+
|
|
37
|
+
# Deploy to GitHub Pages
|
|
38
|
+
deploy:
|
|
39
|
+
@echo "Deploying to GitHub Pages..."
|
|
40
|
+
mkdocs gh-deploy --force
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# Probing Documentation
|
|
2
|
+
|
|
3
|
+
This directory contains the documentation for Probing, built with [MkDocs](https://www.mkdocs.org/) and the [Material theme](https://squidfunk.github.io/mkdocs-material/).
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
### Install Dependencies
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# Using pip
|
|
11
|
+
pip install mkdocs mkdocs-material mkdocs-material-extensions mkdocstrings mkdocstrings-python
|
|
12
|
+
|
|
13
|
+
# Or using uv
|
|
14
|
+
uv pip install -r pyproject.toml
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Build and Serve
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Start live preview server
|
|
21
|
+
make serve
|
|
22
|
+
|
|
23
|
+
# Or directly with mkdocs
|
|
24
|
+
mkdocs serve
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Then open http://localhost:8000 in your browser.
|
|
28
|
+
|
|
29
|
+
### Build Static Site
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
make build
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The built site will be in the `site/` directory.
|
|
36
|
+
|
|
37
|
+
## Directory Structure
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
docs/
|
|
41
|
+
├── mkdocs.yml # MkDocs configuration
|
|
42
|
+
├── pyproject.toml # Python dependencies
|
|
43
|
+
├── Makefile # Build commands
|
|
44
|
+
├── overrides/ # Custom templates
|
|
45
|
+
│ └── home.html # Homepage template
|
|
46
|
+
└── src/ # Documentation source
|
|
47
|
+
├── index.md # Homepage content
|
|
48
|
+
├── installation.md # Installation guide
|
|
49
|
+
├── quickstart.md # Quick start guide
|
|
50
|
+
├── guide/ # User guide
|
|
51
|
+
├── design/ # Design documents
|
|
52
|
+
├── examples/ # Example workflows
|
|
53
|
+
├── api-reference.md # API reference
|
|
54
|
+
└── assets/ # Static assets
|
|
55
|
+
└── stylesheets/ # CSS styles
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Writing Documentation
|
|
59
|
+
|
|
60
|
+
- All documentation is written in Markdown
|
|
61
|
+
- Use [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/reference/) extensions
|
|
62
|
+
- Admonitions, code blocks with copy button, and Mermaid diagrams are supported
|
|
63
|
+
|
|
64
|
+
### Example Admonition
|
|
65
|
+
|
|
66
|
+
```markdown
|
|
67
|
+
!!! note "Title"
|
|
68
|
+
This is a note admonition.
|
|
69
|
+
|
|
70
|
+
!!! warning
|
|
71
|
+
This is a warning.
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Example Mermaid Diagram
|
|
75
|
+
|
|
76
|
+
````markdown
|
|
77
|
+
```mermaid
|
|
78
|
+
graph LR
|
|
79
|
+
A[Start] --> B[Process]
|
|
80
|
+
B --> C[End]
|
|
81
|
+
```
|
|
82
|
+
````
|
|
83
|
+
|
|
84
|
+
## Deployment
|
|
85
|
+
|
|
86
|
+
To deploy to GitHub Pages:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
make deploy
|
|
90
|
+
```
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
site_name: Probing
|
|
2
|
+
site_description: Dynamic Performance Profiler for Distributed AI
|
|
3
|
+
site_url: https://github.com/DeepLink-org/probing
|
|
4
|
+
docs_dir: src
|
|
5
|
+
|
|
6
|
+
repo_name: DeepLink-org/probing
|
|
7
|
+
repo_url: https://github.com/DeepLink-org/probing
|
|
8
|
+
|
|
9
|
+
theme:
|
|
10
|
+
name: material
|
|
11
|
+
custom_dir: overrides
|
|
12
|
+
palette:
|
|
13
|
+
- scheme: default
|
|
14
|
+
primary: custom
|
|
15
|
+
accent: custom
|
|
16
|
+
toggle:
|
|
17
|
+
icon: material/brightness-7
|
|
18
|
+
name: Switch to dark mode
|
|
19
|
+
- scheme: slate
|
|
20
|
+
primary: custom
|
|
21
|
+
accent: custom
|
|
22
|
+
toggle:
|
|
23
|
+
icon: material/brightness-4
|
|
24
|
+
name: Switch to light mode
|
|
25
|
+
features:
|
|
26
|
+
- navigation.tabs
|
|
27
|
+
- navigation.sections
|
|
28
|
+
- navigation.indexes
|
|
29
|
+
- navigation.tracking
|
|
30
|
+
- navigation.top
|
|
31
|
+
- search.highlight
|
|
32
|
+
- search.share
|
|
33
|
+
- content.code.copy
|
|
34
|
+
- content.code.annotate
|
|
35
|
+
icon:
|
|
36
|
+
repo: fontawesome/brands/github
|
|
37
|
+
|
|
38
|
+
markdown_extensions:
|
|
39
|
+
- admonition
|
|
40
|
+
- pymdownx.details
|
|
41
|
+
- pymdownx.superfences:
|
|
42
|
+
custom_fences:
|
|
43
|
+
- name: mermaid
|
|
44
|
+
class: mermaid
|
|
45
|
+
format: !!python/name:pymdownx.superfences.fence_code_format
|
|
46
|
+
- pymdownx.highlight:
|
|
47
|
+
anchor_linenums: true
|
|
48
|
+
line_spans: __span
|
|
49
|
+
pygments_lang_class: true
|
|
50
|
+
- pymdownx.inlinehilite
|
|
51
|
+
- pymdownx.snippets
|
|
52
|
+
- pymdownx.tabbed:
|
|
53
|
+
alternate_style: true
|
|
54
|
+
- pymdownx.emoji:
|
|
55
|
+
emoji_index: !!python/name:material.extensions.emoji.twemoji
|
|
56
|
+
emoji_generator: !!python/name:material.extensions.emoji.to_svg
|
|
57
|
+
- attr_list
|
|
58
|
+
- md_in_html
|
|
59
|
+
- def_list
|
|
60
|
+
- tables
|
|
61
|
+
- toc:
|
|
62
|
+
permalink: true
|
|
63
|
+
|
|
64
|
+
plugins:
|
|
65
|
+
- search
|
|
66
|
+
- i18n:
|
|
67
|
+
docs_structure: suffix
|
|
68
|
+
fallback_to_default: true
|
|
69
|
+
reconfigure_material: true
|
|
70
|
+
reconfigure_search: true
|
|
71
|
+
languages:
|
|
72
|
+
- locale: en
|
|
73
|
+
default: true
|
|
74
|
+
name: English
|
|
75
|
+
build: true
|
|
76
|
+
site_name: "Probing Documentation"
|
|
77
|
+
- locale: zh
|
|
78
|
+
name: 中文
|
|
79
|
+
build: true
|
|
80
|
+
site_name: "Probing 文档"
|
|
81
|
+
nav_translations:
|
|
82
|
+
Home: 首页
|
|
83
|
+
Installation: 安装指南
|
|
84
|
+
Quick Start: 快速开始
|
|
85
|
+
User Guide: 用户指南
|
|
86
|
+
SQL Analytics: SQL 分析
|
|
87
|
+
Memory Analysis: 内存分析
|
|
88
|
+
Debugging: 调试指南
|
|
89
|
+
Troubleshooting: 常见问题
|
|
90
|
+
Design: 设计文档
|
|
91
|
+
Architecture: 系统架构
|
|
92
|
+
Profiling: 性能分析
|
|
93
|
+
Distributed: 分布式
|
|
94
|
+
Extensibility: 扩展机制
|
|
95
|
+
Examples: 示例
|
|
96
|
+
Training Debugging: 训练调试
|
|
97
|
+
Memory Leak: 内存泄漏
|
|
98
|
+
Performance Analysis: 性能分析
|
|
99
|
+
API Reference: API 参考
|
|
100
|
+
Versions: 版本兼容性
|
|
101
|
+
Contributing: 贡献指南
|
|
102
|
+
- mkdocstrings:
|
|
103
|
+
handlers:
|
|
104
|
+
python:
|
|
105
|
+
options:
|
|
106
|
+
docstring_style: numpy
|
|
107
|
+
docstring_options:
|
|
108
|
+
ignore_init_summary: yes
|
|
109
|
+
merge_init_into_class: yes
|
|
110
|
+
show_submodules: no
|
|
111
|
+
|
|
112
|
+
nav:
|
|
113
|
+
- Home: index.md
|
|
114
|
+
- Installation: installation.md
|
|
115
|
+
- Quick Start: quickstart.md
|
|
116
|
+
- User Guide:
|
|
117
|
+
- guide/index.md
|
|
118
|
+
- SQL Analytics: guide/sql-analytics.md
|
|
119
|
+
- Memory Analysis: guide/memory-analysis.md
|
|
120
|
+
- Debugging: guide/debugging.md
|
|
121
|
+
- Troubleshooting: guide/troubleshooting.md
|
|
122
|
+
- Design:
|
|
123
|
+
- design/index.md
|
|
124
|
+
- Architecture: design/architecture.md
|
|
125
|
+
- Profiling: design/profiling.md
|
|
126
|
+
- Debugging: design/debugging.md
|
|
127
|
+
- Distributed: design/distributed.md
|
|
128
|
+
- Extensibility: design/extensibility.md
|
|
129
|
+
- Examples:
|
|
130
|
+
- examples/index.md
|
|
131
|
+
- Training Debugging: examples/training-debugging.md
|
|
132
|
+
- Memory Leak: examples/memory-leak.md
|
|
133
|
+
- Performance Analysis: examples/performance-analysis.md
|
|
134
|
+
- API Reference: api-reference.md
|
|
135
|
+
- Versions: versions.md
|
|
136
|
+
- Contributing: contributing.md
|
|
137
|
+
|
|
138
|
+
extra:
|
|
139
|
+
generator: false
|
|
140
|
+
social:
|
|
141
|
+
- icon: fontawesome/brands/github
|
|
142
|
+
link: https://github.com/DeepLink-org/probing
|
|
143
|
+
- icon: fontawesome/brands/python
|
|
144
|
+
link: https://pypi.org/project/probing/
|
|
145
|
+
|
|
146
|
+
extra_css:
|
|
147
|
+
- assets/stylesheets/home.css
|
|
148
|
+
|
|
149
|
+
copyright: © 2025 Probing. All rights reserved.
|