openRuyi Lookout
← Packages

rocprofiler-register

A rocprofiler helper library

Current
7.2.4
License
MIT AND BSD-3-Clause

Build

TargetResultLast successful versionSucceeded at
rva23
7.2.4
rva20
7.2.4
x86_64
7.2.4

Description

The rocprofiler-register library is a helper library that coordinates the modification of the intercept API table(s) of the HSA/HIP/ROCTx runtime libraries by the ROCprofiler (v2) library. The purpose of this library is to provide a consistent and automated mechanism of enabling performance analysis in the ROCm runtimes which does not rely on environment variables or unique methods for each runtime library. When a runtime is initialized (either explicitly and lazily) and the intercept API table is constructed, it passes this API table to rocprofiler-register. Rocprofiler-register scans the symbols in the address space and if it detects there is at least one visible symbol named rocprofiler_configure (which is a function provided by tools), it passes the intercept API table to the rocprofiler library (dlopening the rocprofiler library if it is not already loaded). The rocprofiler library then does an extensive scan for all the instances of the rocprofiler_configure symbols and invokes each of them. The rocprofiler_configure function (again, provided by a tool) returns effectively tells rocprofiler which behaviors it wants to be notified about, features it wants to use (e.g. API tracing, kernel dispatch timing), etc.

Changelog

PR · 2

Checks
MonitorObservationLast checked
Checked
Checked
Checked
Checked
Not configured
No reliable monitor identity/configuration.
—
Not configured
No reliable monitor identity/configuration.
—
Not configured
No reliable monitor identity/configuration.
—
Checked
Repository query; subpackage and local-patch applicability are not evaluated.
Not configured
No reliable monitor identity/configuration.
—