نمودار کامیت

499 کامیت‌ها

مولف SHA1 پیام تاریخ
Ammar ELWazir bf410d1747 SWDEV-294319 & SWDEV-294321 Added support for missing functions
Added Support for launch kernel functions to fill_api_db

Change-Id: Ie8749806214d6e283c3d408d8019f178f42018bf


[ROCm/roctracer commit: 8396836c25]
2021-08-11 11:42:21 -04:00
Christophe Paquot a9f6522a41 SWDEV-295205 - Remove KFD domain from roctracer
Change-Id: I2771cf43aa115bb466531bf887f7cc75e187f2ef


[ROCm/roctracer commit: e5e1258ef8]
2021-07-22 10:12:45 -07:00
Christophe Paquot ae9c760305 SWDEV-281658 - Preserve the callback IDs enum ordering
Use HIP_API_ID_NONE to detect unsupported API instead of
HIP_API_ID_NUMBER which can grow with a new version of the API.
This HIP_API_ID_NONE enum has a fixed value of 0 so the
HIP_API_IDs really start at FIRST.

Change-Id: I760aa50ddf6fa6d46bf20555ad7d429335a53f97


[ROCm/roctracer commit: b04dfd5fdf]
2021-06-30 09:52:20 -04:00
Freddy Paul 1c6c8def17 roctracer:All libraries need to be installed with LIBRARY TAG
Cmake will do the post processing required for RPATH or any other
needed for the libraries only if installed as libraries not as
regular files

FIX: SWDEV-287893
Change-Id: I9cf478fcd23b9f2e8b3bdd81aa566cad3ec2a5e3


[ROCm/roctracer commit: 1cc934204f]
2021-05-26 12:15:25 -04:00
Rachida Kebichi 99ae6ad86a SWDEV-284863 Fixed several issues preventing memcpy info dump in csv
Change-Id: I4c6323311ce8314296e81a9b9b5d8adb485e0aa8


[ROCm/roctracer commit: e5dd1e9b85]
2021-05-25 11:10:52 -04:00
Laurent Morichetti 77c83db3ef Fix random bugs discovered while reading the code
In HsaTimer::correlated_pair_ns, the time ID should be used to
select the clock ID passed to clock_gettime.

In MemoryPool::allocator_default, pass the correct value to realloc.

Change-Id: I5d10c0994c07fdeadd99c81deba4e71a4f579523


[ROCm/roctracer commit: 297b613604]
2021-05-20 21:22:16 -04:00
Laurent Morichetti 61e044e67c Make HIP_VDI the default
As this snippet shows, HCC is no longer supported by roctracer:

#if HIP_VDI
...
#else
#error HCC support dropped
#endif

Removed HIP_VDI from the CMakeLists.txt, and the source code.

Change-Id: Ib273da2a5af6d67fa1b021a7eca3ff785c8b9c73


[ROCm/roctracer commit: 8fb3cdb30b]
2021-05-20 21:20:27 -04:00
Rachida Kebichi 4214723eda SWDEV-283958 Workaround for unnamed structs
CppHeaderParser has limited support for unnamed structs. It leaves the
name empty so this results in classes (a.k.a structs) having trailing '::'
characters, also giving no way to distingush two unnamed structs at the
same level of nesting. An example are the inner structs of
hipExternalSemaphoreSignalParams. The workaround consists in skipping
over these, so they are not generated in the output header file
which lists all ostream ops<<. Only the inner unnamed structs are skipped,
the rest is processed as it should.

Change-Id: I17439c46095469b7adb7aee0b0f0b3d234aabc11


[ROCm/roctracer commit: faada3e569]
2021-05-07 15:57:30 -04:00
Freddy Paul 819a91bf15 roctracer:update with case-sensitivity email
All packages should have a valid email for contact.

SWDEV-257322

Change-Id: I3a489bde4283545cba2ee377edc5a8b7adb75116


[ROCm/roctracer commit: 7bcac00f35]
2021-05-03 11:47:42 -07:00
Freddy Paul b91aff7fa1 roctracer:Add maintainer email in package.
All packages should have a valid email for contact.

SWDEV-257322

Change-Id: I04b7d5ccc618b0a0907a75a92f50c9da64c3ff32


[ROCm/roctracer commit: 0cff9b7dc9]
2021-04-30 11:35:59 -07:00
Kent Russell e37c63ea09 roctracer: Support static thunk
Add numa lib as this will be required with a static thunk
Look for static thunk of shared thunk cannot be found

Signed-off-by: Kent Russell <kent.russell@amd.com>
Change-Id: I5de63e0a56a8946132ccbb7140a19a82a70b951d


[ROCm/roctracer commit: 5c9329aec8]
2021-04-27 12:56:56 -04:00
Laurent Morichetti aa5937fbe1 Fix a compilation error with gcc-9.3.0
On Ubuntu 20.04, in Release mode, gcc fails with this error:

In file included from /usr/include/string.h:495,
                 from /opt/rocm/include/hsa/hsa_api_trace.h:57,
                 from ../roctracer/src/util/hsa_rsrc_factory.h:29,
                 from ../roctracer/src/util/hsa_rsrc_factory.cpp:25:
In function ‘char* strncpy(char*, const char*, size_t)’,
    inlined from ‘const util::AgentInfo* util::HsaRsrcFactory::AddAgentInfo(hsa_agent_t)’ at ../roctracer/src/util/hsa_rsrc_factory.cpp:323:12:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: error: ‘char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../roctracer/src/util/hsa_rsrc_factory.cpp: In member function ‘const util::AgentInfo* util::HsaRsrcFactory::AddAgentInfo(hsa_agent_t)’:
../roctracer/src/util/hsa_rsrc_factory.cpp:322:39: note: length computed here
  322 |     const int gfxip_label_len = strlen(agent_info->name) - 2;
      |                                 ~~~~~~^~~~~~~~~~~~~~~~~~

The error is caused by the following 2 lines:

    const int gfxip_label_len = strlen(agent_info->name) - 2;
    strncpy(agent_info->gfxip, agent_info->name, gfxip_label_len);

The size argument to strncpy should not depend on the input string.

Since the terminating character is not considered (the copy is at
most len - 2 bytes), using memcpy is preferable. Also, make sure
the destination does not overflow by clamping the size.

Change-Id: I37c5c45418e7c31a017581b6c16e5d47cd61aec5


[ROCm/roctracer commit: 38009bfba4]
2021-04-19 22:57:51 -07:00
Rachida Kebichi a5571976e5 SWDEV-281008 replace hcc_detail by amd_detail
Change-Id: I180b18f9e1fae40c923d6210901f06cba14e8f13


[ROCm/roctracer commit: 6267df36e4]
2021-04-14 11:18:38 -04:00
Rachida Kebichi ff4cabdf4e SWDEV-272488 append to CMAKE_CXX_FLAGS instead of override
Change-Id: Ib5e6856944bf54b2161cba9ac24adda57fdf8a9a


[ROCm/roctracer commit: 8c3bd6817e]
2021-04-06 15:45:44 -04:00
Evgeny Shcherbakov 95f15bf72c Merge "fxing gfxip label" into amd-staging
[ROCm/roctracer commit: 26fd08feae]
2021-04-03 01:31:34 -04:00
Rachida Kebichi d78eaf664f SWDEV-255637 support for hsa_amd_memory_async_copy_rect
Change-Id: I5db6484c30427712c56b59862e748118a3f079c2


[ROCm/roctracer commit: 06271806d4]
2021-03-31 10:02:06 -04:00
Cole Nelson 4171d2be0d Merge "CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install" into amd-staging
[ROCm/roctracer commit: 3018150e53]
2021-03-30 15:37:50 -04:00
Rachida Kebichi 28faba40a7 SWDEV-271503 Fixed core dump
Change-Id: Ia582a27482581c3b81c42da0add9f6743898da6c


[ROCm/roctracer commit: ad5b463912]
2021-03-30 14:06:56 -04:00
Evgeny 1eeb601150 fxing gfxip label
Change-Id: Ic22d828b38da8afc5a232c2f2eb5de5410844b70


[ROCm/roctracer commit: 2287da5e28]
2021-03-28 08:11:58 +00:00
Cole Nelson df5618cd66 CMakeLists.txt: add ENABLE_LDCONFIG to support multi-version install
Depends-On: I58fdf1d0b4e864b5a61ffe8e335d430d424811ab
Change-Id: I1eeb778ac58a2c4b588244adc3112ecb1aa15217
Signed-off-by: Cole Nelson <cole.nelson@amd.com>


[ROCm/roctracer commit: 16d4a79562]
2021-03-27 15:36:02 -07:00
Evgeny 76f7c9a5fd SWDEV-267198 : adding gpu index to hsa_handles file
Change-Id: I6ddba45ab31fff97a1f85f889c56693accf8f5bc


[ROCm/roctracer commit: 1c77416a6c]
2021-03-09 15:37:44 -06:00
Evgeny fc65a545a7 SWDEV-251491 : fixing tracing on exit
Change-Id: I1bf2a6093331e7a08179b9f64394c5c49206ef0e


[ROCm/roctracer commit: 912cfd4cf8]
2020-12-25 01:49:44 -05:00
Evgeny b81697c07e SWDEV-251491 : disabling tracing on exit
Change-Id: Ifd5f0fbad70afa1e79da8b4b9aa639d899cbea76


[ROCm/roctracer commit: 99eee45546]
2020-12-22 04:55:07 -05:00
Rachida Kebichi bbf605467b SWDEV-259683 HIP API records filtering
Change-Id: I43ca5e022d2c055b6a9bc2c09b4276b490a4b986


[ROCm/roctracer commit: 2d31848c44]
2020-12-16 16:29:36 -05:00
Evgeny Shcherbakov 608a087451 Merge "calling python3 explictely" into amd-staging
[ROCm/roctracer commit: 3e4539c95d]
2020-12-16 16:01:57 -05:00
Evgeny f1458a97fb calling python3 explictely
Change-Id: I3dda55865bafa41cc6670e414b213f13a2a2a7ac


[ROCm/roctracer commit: bb5f2231a1]
2020-12-16 14:29:12 -05:00
Evgeny 130ab9d9fc SWDEV-264282 : fixing tracer_tool linking
Change-Id: I0fd78c01595bbd506f42cf9dfb45f62b2124f704


[ROCm/roctracer commit: 4baffc8e53]
2020-12-09 22:18:22 -05:00
Evgeny d7f56b632c SWDEV-258731 : cleanup
Change-Id: Iabcc81576eb8b6c0484eae820c3e25a896da6c5b


[ROCm/roctracer commit: b83ffeeab8]
2020-12-02 13:52:57 -06:00
Evgeny Shcherbakov 1585ab7259 Merge "Adding dumping of HSA handles" into amd-staging
[ROCm/roctracer commit: 6a59675f01]
2020-12-02 06:35:04 -05:00
Evgeny e6a0c8a665 Adding dumping of HSA handles
Change-Id: I18e2cfdf2574110bffa09d30c7ac1d3941252939


[ROCm/roctracer commit: 7d8fd0606d]
2020-12-01 16:45:33 -05:00
Evgeny Shcherbakov ce7f1bf14a Merge "adding tests dry run to check if platform is in working state" into amd-staging
[ROCm/roctracer commit: 20f3103b72]
2020-11-24 14:00:31 -05:00
Evgeny 979817ec97 adding tests dry run to check if platform is in working state
Change-Id: Ic430e3f959119983a65929fc70332e293cc3448d


[ROCm/roctracer commit: 6aa28d511f]
2020-11-23 13:09:46 -06:00
Rachida Kebichi 4b6d702a39 SWDEV-255938 NEW - added regex and depth support to ostream ops
Change-Id: I292255adab3a70fa00a1dd5685b788521687f35b


[ROCm/roctracer commit: ef36218286]
2020-11-18 16:48:50 -05:00
Cole Nelson 789e63c046 CMakeList.txt: conformant package names
Still needs valid email ID in the form of package_name.support@amd.com.
SWDEV-257322

Names complete as built (internal) :
roctracer-dev_1.0.0.40000-crdnnv.444_amd64.deb
roctracer-dev-1.0.0.40000-crdnnv.444.el7.x86_64.rpm

These changes are to satisfy:
http://confluence.amd.com/display/GPUCPT/Package+File+Naming

Change-Id: I5991326eb87d7dfa1304e3b2c5afb78f5a0c0361
Signed-off-by: Cole Nelson <cole.nelson@amd.com>


[ROCm/roctracer commit: 16ad4e9de7]
2020-11-10 13:06:36 -05:00
Evgeny Shcherbakov e98e56578b Merge "SWDEV-254329 : extending debug trace with timestamps, cmake option '-DCMAKE_DEBUG_TRACE=1'" into amd-staging
[ROCm/roctracer commit: d5c138b518]
2020-10-20 12:34:23 -04:00
Evgeny d8da7486f7 code obj tests: adding load base
Change-Id: I5fdb25b67eaae43b3c01cd8de3824f9343c37794


[ROCm/roctracer commit: 6d2bca792b]
2020-10-16 17:54:43 -04:00
Evgeny 9eeab1fb91 SWDEV-254329 : extending debug trace with timestamps, cmake option '-DCMAKE_DEBUG_TRACE=1'
Change-Id: Id16c01a6c00f6384c37fa9b5a9709a5e98e1fb57


[ROCm/roctracer commit: cb3643da05]
2020-10-14 00:07:12 -04:00
Evgeny 85e5cf8a93 SWDEV-213367 : codeobj event implementation
Change-Id: Ibcaca6869ce96d8802c5fa8ba241f43834d6f2a7

update - codeobj event implementation

Change-Id: I4c12f26a19f2b31d9ac2211c3426a0e587a332b3

update2 - codeobj event implementation

Change-Id: Ic877549a83542ae00352503471d881e847ebac9c

test - codeobj event implementation

Change-Id: I0618d3a93de94c3d7467372ba4a3d4ea5520bfc7

URI reference test - codeobj event implementation

Change-Id: I6cf7e8a648cf012cb0708058b118a75e58f992b9

adding test/app - codeobj event implementation

Change-Id: Idf4c197c7b9116ccde5ec50ff47a26a858bfab32

uri test fix - codeobj event implementation

Change-Id: I7c385f82f516d9d8f2cd726366f00be3664006e3

uri test cleanup - codeobj event implementation

Change-Id: I542d5baf88c048c8b4717af843b803cd93e8f3bc

URI buffer fix - codeobj event implementation

Change-Id: Iac65e04c03a0939935c10f53c6b580a2e33878f5

HSA events tests trace-check disabled

Change-Id: I0f4d13aeeceb1d1a6e2191673eacbf9c7ae2ae52


[ROCm/roctracer commit: 29c63c5281]
2020-10-09 08:36:12 -04:00
Evgeny Shcherbakov 2eb396d35a Merge "hip library loader check" into amd-staging
[ROCm/roctracer commit: 02fcb90a4b]
2020-10-07 19:01:55 -04:00
Evgeny Shcherbakov efe15fe541 Merge "SWDEV-251491 : gen_ostream_ops.py porting to python3" into amd-staging
[ROCm/roctracer commit: 330299b7f0]
2020-10-07 18:54:20 -04:00
Evgeny 5a0d2d5d7e hip library loader check
Change-Id: I34957db88932e1ed725a0a0d8ca9a66fecc92e38


[ROCm/roctracer commit: 9061c4ea41]
2020-10-07 17:53:51 -04:00
Evgeny 65928ee9d1 SWDEV-249924 : hip correlation id explicite propogation; tracer debug instrumentation;
Change-Id: Ibbc411541f5610ce739f3fc1efa1ab7f605220f5

initial commmit

Change-Id: I34b360be62c2083819dc5c3acc8268bd69f2f58a


[ROCm/roctracer commit: ef61a39603]
2020-10-06 13:25:51 -04:00
Pareshkumar Ghanshyambhai Patel be34751495 Merge "SWDEV-253997 : packaging fix: installing hsa_ostream_ops.h" into amd-staging
[ROCm/roctracer commit: 7b6c94e9e9]
2020-10-03 23:06:11 -04:00
Evgeny 7a430d1260 SWDEV-251491 : disabling hipModuleUnload tracing which is called on exit
Change-Id: I99c22eec3fea6ac8820d574c44df099febdd27c4


[ROCm/roctracer commit: bb8f2f6785]
2020-10-01 12:47:40 -04:00
Evgeny 6f19938892 SWDEV-251491 : gen_ostream_ops.py porting to python3
Change-Id: I7081b6ad21b038040267067bd73d8a44df46e4ff


[ROCm/roctracer commit: 9562675382]
2020-10-01 00:52:23 -05:00
Evgeny 8ba4e41e68 SWDEV-253997 : packaging fix: installing hsa_ostream_ops.h
Change-Id: Ib739cbb7538473afc9744e12d2bd568635e78616


[ROCm/roctracer commit: 1d975e5ba5]
2020-09-28 13:19:51 -04:00
Evgeny Shcherbakov a239df1bcc Merge "codeobj tracing prof protocol" into amd-staging
[ROCm/roctracer commit: 093844ba0e]
2020-09-20 22:17:33 -04:00
Evgeny 4760ef556a HCC_HOME env cleanup
Change-Id: I2b00e5d310e6349fc52d5df60aae85f4c06adebe


[ROCm/roctracer commit: 8bdf282645]
2020-09-19 17:50:57 -04:00
Evgeny f7549dfde3 codeobj tracing prof protocol
Change-Id: Ib49c8ee034fb7481b21f950490e10b350f2a1b79


[ROCm/roctracer commit: 6567c48e98]
2020-09-19 16:49:46 -05:00
Evgeny 1ce5f46737 testing using v3 object
Change-Id: Ifca31d632726ab83f4c672b46cd9b97f817e757d


[ROCm/roctracer commit: bada601e64]
2020-09-16 20:34:42 -04:00