Skip to content

CI Test: container native symbols update - #5

Open
pramodk wants to merge 4 commits into
mainfrom
pramodk/container-native-symbols-update
Open

CI Test: container native symbols update#5
pramodk wants to merge 4 commits into
mainfrom
pramodk/container-native-symbols-update

Conversation

@pramodk

@pramodk pramodk commented Jul 15, 2026

Copy link
Copy Markdown
Owner

No description provided.

@pramodk
pramodk force-pushed the pramodk/container-native-symbols-update branch from ef86c7d to 3358a14 Compare July 15, 2026 14:59
@pramodk
pramodk force-pushed the pramodk/container-native-symbols-update branch 2 times, most recently from 42a5777 to 1dd8b70 Compare August 7, 2026 12:57
@pramodk
pramodk force-pushed the pramodk/container-native-symbols-update branch from 1dd8b70 to dc70713 Compare August 7, 2026 14:18
- Add a libdwfl fallback that opens absolute module paths through /proc/<pid>/root so remote Pyxis/Enroot targets can resolve libraries that are only visible inside the container filesystem.
- Associate the analyzed PID with each DWFL module before attach so the ELF lookup callback can find the target process root during native unwinding.
- Preserve the existing build-id and linux-proc lookup paths first; the process-root fallback is used only when normal host lookup fails.
- This fixes the behavior seen with the ImageNet Pyxis NCCL run where PyStack 1.6 reported insufficient native information or lost libtorch/libtorch_cuda/NCCL frames from container targets.

Signed-off-by: Pramod Kumbhar <prkumbhar@nvidia.com>
- Resolve mapped paths through /proc/<pid>/root before libdwfl's fallback to avoid opening a different host file.
- Preserve plain module paths for identical files so same-namespace module and debuginfo behavior stays unchanged.
- Handle deleted and missing module names safely, and match load points against reported, main, and debug paths.

Signed-off-by: Pramod Kumbhar <prkumbhar@nvidia.com>
- Build target and host-decoy libraries at one mapped path to verify native symbols use the target filesystem view.
- Require the mount-namespace test in coverage CI while allowing unsupported local environments to skip it.

Signed-off-by: Pramod Kumbhar <prkumbhar@nvidia.com>
- Trigger full coverage for pushes to pramodk/container-native-symbols and allow manual workflow dispatches.

Signed-off-by: Pramod Kumbhar <prkumbhar@nvidia.com>
@pramodk
pramodk force-pushed the pramodk/container-native-symbols-update branch from dc70713 to 89f79fc Compare August 10, 2026 15:09
@pramodk
pramodk marked this pull request as ready for review August 10, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant