Skip to content

Conversation

@coleramos425
Copy link
Collaborator

Upon testing JSON output support in the MemoryAnalysis plugin I found empty output that would only occur while using the kernel filtering option in omniprobe (i.e. -k/--kernels). The bug occurred because when kernel filtering is used, Omniprobe could process multiple dispatches at a time, which I'm guessing caused a race condition between multiple handler instances. The easiest solution is to skip the metadata output in this case, which solved the issue for me.

This PR also patches an issue in ROCm install in Docker container build where ROCM_VERSION build arg needed to be declared after FROM statement in the Dockerfile for correct scoping. This fixed the issue.

…atches

Signed-off-by: coleramos425 <colramos@amd.com>
Signed-off-by: coleramos425 <colramos@amd.com>
…'s data to output rather than relying on dispatch info which may not always be reliable

Signed-off-by: coleramos425 <colramos@amd.com>
…cessed sequentially, causing multiple calls to hipGetDeviceProperties(). To avoid this race condition, skip this call when kernel filtering is being done

Signed-off-by: coleramos425 <colramos@amd.com>
@coleramos425 coleramos425 merged commit 4eb1b3d into main Jul 29, 2025
4 of 16 checks passed
@coleramos425 coleramos425 deleted the colramos/json-kernel-filt-patch-2 branch September 25, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants