16 کامیت‌ها

مولف SHA1 پیام تاریخ
Ammar ELWazir 2ad5eb8130 SWDEV-430956: resolving the issue with V1 script reading long kernel names
Change-Id: I30069e28dbcc8edf2b4b41a8afd6ca4014427da7


[ROCm/roctracer commit: a7d8bd521c]
2023-11-08 16:33:01 +00:00
Ammar ELWazir e0eb2f96b2 Adding Kernel Names instead Kernel Execution
Change-Id: I102a8e741eeee18d240a62ff33e9b94e8f57d5ff


[ROCm/roctracer commit: 7e8348b017]
2023-10-26 12:33:01 -04:00
Benjamin Welton f08a32bed2 Replace direct file out with stringstream
Change-Id: Id0a00d918df88d0031f9c8f847e65b416c09bf77


[ROCm/roctracer commit: 54777ece26]
2023-10-19 15:28:16 +00:00
Jatin Chaudhary 16d3e732b6 SWDEV-412457 - Add <cassert> header in file that uses assert
Change-Id: I2f9401d3890cc3c5116dba21ee959f1bf4f0b48e


[ROCm/roctracer commit: 4ff80750b3]
2023-09-27 14:29:17 +01:00
Ammar ELWazir 2b78928d60 SWDEV-415259: Replacing HCC with AMD
__HIP_PLATFORM_HCC__ with __HIP_PLATFORM_AMD__

Change-Id: I2e79cff5a0216125b4ce2aa90104d4a1696bad08


[ROCm/roctracer commit: 67b3717da9]
2023-08-17 09:23:45 -04:00
Ranjith Ramakrishnan 2d06c8c312 SWDEV-409575 - Append additional RPATH to libraries installed in /opt/rocm-ver/lib/roctracer
RPATH in libraries installed in /opt/rocm-ver/lib/roctracer should be: $ORIGIN:$ORIGIN/..
cmake shared linker flags will provide the rpath $ORIGIN
The patch will append the rpath $ORIGIN/.. to the component specific libraries

Change-Id: Ied2bcb57bf0dd38ee3d1a946a5afc1bb182ff619


[ROCm/roctracer commit: 6fbf7673aa]
2023-07-13 16:43:46 -07:00
AravindanC 5019a364c8 SWDEV-351540 - ASAN packaging for roctracer
Change-Id: If23c92e785fbbeb27034a8958568dd86b847beed


[ROCm/roctracer commit: 4edc9727bd]
2023-02-27 11:32:39 -08:00
Laurent Morichetti 20cc405de7 SWDEV-361912 - Fix kernel demangling
Older GNU C++ runtimes cannot demangle symbol names generated by recent
versions of LLVM. To work around this issue, use the LLVM demangler to
process kernel names.

Change-Id: I595f900d06360bb5acce542955cf1f5aed81f00e


[ROCm/roctracer commit: 91b449d0d5]
2022-12-05 20:36:04 -08:00
Laurent Morichetti 348bc1afaf SWDEV-362165 - Escape strings in the API function's arguments
Strings ([const] char *, [const] char[]) passed as arguments to API
functions may not always contain printable characters. All string
arguments should be quoted and escaped in the trace logs.

Change-Id: Ie39058f2190048b1a0090df16d9ac6bc6507e28a


[ROCm/roctracer commit: b556f8681e]
2022-10-15 19:03:36 -07:00
Laurent Morichetti 14c153601d SWDEV-355896 - Fix a data corruption error in post processing
The post-processing script cannot handle HIP ops without a correlation
ID. The correlation ID is needed to connect the record to a HIP stream
and originating thread.

This issue was exposed by a change to the tracer API to report
asynchronous activities even if their originating synchronous API
activity (callback) is not enabled. This was a flow in the API.

Also fix an issue with the API filtering. Undefined API names should
not cause an exception, they should be ignored.

Change-Id: Iab2221af6180ade2b9c2eb10c256c3a73d872e9f


[ROCm/roctracer commit: 4856d33959]
2022-09-13 08:21:13 -07:00
Laurent Morichetti a7700afbf6 Use fatal() and warning() for logging errors
Change-Id: I4d525ed2a7dba72beff6fbe43383015e55465fcd


[ROCm/roctracer commit: 57867e4803]
2022-09-06 19:38:16 -07:00
Laurent Morichetti d2e1384c40 Remove global variables from the file plugin
The plugin's file scope global variables destructors could be called
before roctracer_plugin_finalize is called, making the global variables
undefined by the time roctracer_plugin_finalize is called.

To avoid this issue, remove all non-pod global variables from the file
plugin.

Change-Id: I4b620d67d460d9c99adfd81cbf46b0e64540c503


[ROCm/roctracer commit: 006ce7b65d]
2022-08-23 16:34:08 -07:00
Ammar ELWazir 699d17b733 Fixing issues caused by the plugin patches
- Multithreaded Applications and plugin destruction
- Fixing Async-copy trace in file plugin
- Adding the assert checkups for every trace buffer flush function

Change-Id: I96e096fd7ee2604931200a0b446edb5ce49959dd


[ROCm/roctracer commit: 4cd7497a87]
2022-08-19 00:01:02 -04:00
Laurent Morichetti dfc856d164 Use std::dec to print the begin_timestamp
Change-Id: I88377b840b2e2cce278575bc398cbdc296e6dfd7


[ROCm/roctracer commit: 753d543022]
2022-08-17 23:20:28 -07:00
Ammar ELWazir 88a630102c Adding File Plugin
- Added File plugin as the default plugin
- Moved the flush functions to the plugins
- Improved the flush to file implementation

Change-Id: I80dd448eb8147a8ea4aa63b39bd1d0a4baf7252b


[ROCm/roctracer commit: b7e1f74054]
2022-08-11 12:06:13 -05:00
Ammar ELWazir 386847b9f4 Adding Plugin Interface
- Add roctracer plugins hooks
- Add Roctracer plugin environment variable
- Add the plugin class
- Add the plugin implementation

Change-Id: I12ee2e2be035abac14864764fb76837a4533cf60


[ROCm/roctracer commit: 1c7c5cc112]
2022-08-11 10:13:36 -05:00