** Description changed:

- As part of our efforts to have the ROCm v7.2.3 stack in Resolute this
- bug has been created.
+ [ Impact ]
+ Users running ROCm 7.1.0 on Resolute have an older version of roctracer
+ that is missing the following upstream fix present in 7.2.4:
  
- This bug shall be updated to follow the SRU template. For now it serves
- as a placeholder.
+   - roctracer_stop() did not wait for all in-flight activity records to
+     be delivered before returning. This caused missing profiling events
+     in traces collected with roctracer, particularly for GPU commands
+     that completed just before stop was called. The fix adds a drain
+     mechanism (pending record counter, 100 ms timeout) and ensures
+     roctracer_flush_activity() is called before stop returns.
  
- MP: https://salsa.debian.org/rocm-team/roctracer/-/merge_requests/2
- PPA: https://launchpad.net/~b0b0a/+archive/ubuntu/roctracer-7.2.3
- Autopkgtests: https://autopkgtest.ubuntu.com/user/b0b0a/ppa/roctracer-7.2.3
- Upstream code diff: 
https://github.com/ROCm/roctracer/compare/rocm-7.1.1...rocm-7.2.3
- abipkgdiff [libroctx64.so.4.1.0 vs libroctx64.so.4.1.0]:
- Empty (bullwinkle-cicd run 26281244194)
+ Note: the Ubuntu roctracer package only builds libroctx64-4 (the
+ ROC-TX marker/annotation library). The upstream bug fix is in
+ roctracer.cpp, which is not compiled in this package. This upload
+ is therefore primarily a version bump to maintain consistency with the
+ coordinated ROCm 7.2.4 stack SRU.
+ 
+ [ Test Plan ]
+ 1. Build
+    Package successfully builds in the bug PPA as well as the Bullwinkle
+    team rocm-devel PPA via recipe. Bullwinkle team has pushed the
+    package to Debian experimental and then synced it to stonking.
+ 
+ 2. Install & basic smoke-test
+    sudo apt install libroctx64-4 libroctx-dev
+    # Verify the library loads:
+    python3 -c "import ctypes; ctypes.CDLL('libroctx64.so.4'); print('OK')"
+ 
+ 3. Autopkgtest
+    roctx-test passed on gfx1151:
+      PASS: roctx-test build and run succeeded
+      roctx-test    PASS (superficial)
+    Tests ran for 13m 41s on 2026-05-22 via ppa:b0b0a/roctracer-7.2.3.
+ 
+ 4. Additional validation
+    - DPKG_GENSYMBOLS_CHECK_LEVEL=4 enforced in debian/rules; strict
+      symbols check passed with no removed or changed symbols.
+ 
+ [ Where problems could occur ]
+   - The version bump changes the value returned by any version-query
+     API. If a consumer checks for an exact version number, it could
+     reject the updated library. Symptom: tool refuses to load or reports
+     version mismatch.
+ 
+ [ Other Info ]
+  * ABI: SOVERSION unchanged at 4 (libroctx64.so.4).
+    abipkgdiff [libroctx64.so.4.1.0 vs libroctx64.so.4.1.0]: Empty —
+    no functions, variables, or symbols changed. The upstream fix touches
+    src/roctracer/roctracer.cpp and registration_table.h, which are part
+    of libroctracer64 (not built in this Ubuntu package). The libroctx64
+    source is unmodified between 7.1.0 and 7.2.4.
+  * The upstream bugfix (roctracer_stop drain) affects libroctracer64,
+    which is not built or shipped in the Ubuntu package. Users requiring
+    the full roctracer profiling library must use the upstream ROCm
+    packages directly.
+  * This update is part of the coordinated ROCm 7.2.4 stack SRU.
+  * Initial MP to stonking that later ended in debian experimental:
+    https://salsa.debian.org/rocm-team/roctracer/-/merge_requests/2
+  * PPA: https://launchpad.net/~b0b0a/+archive/ubuntu/roctracer-2153991
+    https://launchpad.net/~b0b0a/+archive/ubuntu/roctracer-7.2.3
+  * Autopkgtests: https://autopkgtest.ubuntu.com/user/b0b0a/ppa/roctracer-7.2.3
+  * Upstream comparison:
+    https://github.com/ROCm/roctracer/compare/rocm-7.1.0...rocm-7.2.4

** Summary changed:

-  SRU: New upstream version 7.2.3
+ SRU: New upstream version 7.2.4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2153991

Title:
  SRU: New upstream version 7.2.4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/roctracer/+bug/2153991/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to