Commit Graph

904 Commits

Author SHA1 Message Date
Giovanni LB 637abbf8d7 SWDEV-474615: Adding barrier bit to read and stop packets
Change-Id: I895dc7389d870ed111ac3b9c400e6946023ffe97
2024-07-19 12:45:52 -03:00
Lang Yu 7313e52f35 SWDEV-467545 - Add rocprofiler support for gfx1150/gfx1151
Change-Id: I2cddc36981f6d815c865d180a1daf1b8a7e0633f
Signed-off-by: Lang Yu <lang.yu@amd.com>
2024-07-09 22:40:10 -04:00
Giovanni LB 7e199e6b7a SWDEV-470113: Fixing hang on navi33
Change-Id: I5c1d30547039a6f23ab5974f43ea63f971573108
2024-07-05 20:39:56 -04:00
Giovanni LB 70fedc5195 SWDEV-470113: Swapping test order and resetting queue.cpp variables
Change-Id: I20f3fa3cbf389ab89ba8ea8e430819c4ef837ad0
2024-07-03 15:41:37 -03:00
Giovanni LB 8d2f139005 SWDEV-470113: Waiting on active signals
Change-Id: Ie99477a2f031fa0dbb7ff7c860f8b780177e6e9d
2024-06-27 15:17:56 -03:00
gobhardw d74921cfd3 Adding azure build status
Change-Id: Ic7f2ab5c175193a8b533145cc8e2ccdbb090231e
2024-06-26 12:51:06 +05:30
Giovanni LB 893bcb0c10 Adding ATT support for gfx12
Change-Id: I549f36061bd961347eb92795846d660069c263fc
2024-06-21 11:25:49 -04:00
Ranjith Ramakrishnan 2b6d73d3e7 SWDEV-464716 - Use the correct hsa devel package for RPM dependencies
hsa-rocr-devel should be used for RPM dependency.
Runtime package should depend on has-rocr

Change-Id: I61a25c47d18f14686bbb55f5ccbf1f49d27bb9b0
2024-06-20 16:06:10 -07:00
gobhardw 33ba37b58e README update for gerrit->github nightly sync
Change-Id: Ice31239def9f6cf4c1e8ef689d7b92df75ca3b4c
2024-06-20 02:59:06 -04:00
jatang e7b96b1e71 SWDEV-458392 - Add gfx12 support.
Change-Id: I91bb6a3329bf77f26005a345c18b63b86922028a
2024-06-17 13:24:48 -04:00
Giovanni LB 4d0fee6637 SWDEV-468021: Improving profiler performance
Change-Id: I91921160a19aaea1fedfa40d11b83114d6a6fc65
2024-06-14 15:29:27 -03:00
Saurabh Verma a63b6fcbd2 RDC metrics in v1
Change-Id: Iaa8cd0a37da37729df76362f10a0bb63c317a498
2024-06-11 17:00:39 -05:00
Saurabh Verma 2047bf4b8b Fixing occupancy metrics for MI300
Adding changes for v1 xml which was missed in change 604738fd8d

Change-Id: I338f2736ee61e316522f1ce42cee74abec201499
2024-06-11 11:47:57 -05:00
Ammar ELWazir a50d5ce4ae Fixing the force of using cmake python3 interpreter
Change-Id: I5d87dfa78052611856652fc887cdfa6764c51028
2024-06-10 16:00:09 -04:00
Saurabh Verma 056156135d SWDEV-457922: Temporary fix to prevent multiple instances of either rocprofiler v1 or v2 to be running, whether it's interception or standalone mode.
The fix works by using a pid file and a lock file, similar to how firefox prevents multiple instances.

Change-Id: I4974a80bf920eaf0376a53410573c1cc74ec17ac
2024-06-10 12:49:29 -04:00
AravindanC 59230206a3 SWDEV-460492 Update permissions, install target types of executables
Change-Id: I23828d4938ce35f2c27d86654f4e122f8886ec1d
2024-06-07 17:42:32 -04:00
Ammar ELWazir db82c5ef62 General fixes for CI
Change-Id: I16e4d1fbc71a378eba6738c6953760e8e4de525e
2024-06-07 11:22:07 -05:00
Ammar ELWazir c312e9b0f1 Fixing rocsys includes
Change-Id: Ia19030a5ad4caebe7b6703721702a1776e97455b
2024-06-06 15:00:48 -05:00
gobhardw 1e69b3e2f6 SWDEV-465520: RHEL9 toolchain doesnt seem to support experimental filesystem
Change-Id: I6b1e7f42c49b1c7af412c0b68851724861c9970a
2024-06-05 12:50:48 -04:00
Giovanni LB 140f658820 SWDEV-464906: Swap read and stop packets in queue.cpp
Change-Id: I2dd33a71c0cbe69fe6c2cfaf523b9f8c6500093f
2024-06-05 09:11:59 -04:00
gobhardw 341b7b1f21 removing --kernel-trace from --sys-trace help
Change-Id: I14afd42d12bc3c2462040d5ba1f16765565fd662
2024-06-05 11:18:58 +05:30
Ammar ELWazir 80dce3d672 Fixing Activities Trace Period
Change-Id: If37d8518392112cedc66ce616adaaad22c517d4a
2024-05-31 18:09:53 -05:00
Ammar ELWazir 2be8f71790 Temp: Disabling Perfetto Test
Change-Id: I602e3e752d508a45d42bf22e40b78d53a8e436d0
2024-05-30 12:49:15 -05:00
gobhardw 48374bf453 Fixes multiple issues with tool
Change-Id: Ib465caa9029edc737df2c419d2ef763ec24165e1
2024-05-29 01:30:09 -04:00
Ammar ELWazir b8726a6225 Adding JSON & Major fixes
Adding Chrome Tracing JSON for V2
Some fixes for the Kernel Dispatch tracing
Changes related to the HIP Runtime Destruction fix

Change-Id: I2fe1f1ef66b415df17c503a4a9fadcfa107d8c49
2024-05-29 01:21:52 -04:00
Giovanni LB b354c54ed7 Setting output buffer to always local
Change-Id: I82bf9f4cb922221d4a2b7ae15adb0f208a0ba70e
2024-05-27 14:53:32 -04:00
Saurabh Verma 34606db8c3 Fix for crash Error: HsaRsrcFactory::SignalWait: signal_value(1), ret_value(-1)
Context::GetData() would crash when it tries to wait on the completion signal of the stop packet. The expected signal value after waiting in HsaRsrcFactory::SignalWait() is supposed to be 0 but sometimes it comes up as -1. The signal being checked has already decremented before. Profile::Finalize() was assigning the same completion signal to the read and stop packet. So those two packets have been assigned different completion signals. This fix only affects standalone profiling mode.

Change-Id: I4b16825019e58d95d70188a72b2cc5871e09dd81
2024-05-26 13:31:39 -04:00
Ammar ELWazir b6576393a2 Temporary fix for SWDEV-459354
Change-Id: I13d7d600ab72d873d1dbc5d5e9b72c2ca5941488
2024-05-24 10:39:32 -04:00
amd-jmacaran 654a8a27f8 Enable ROCm External CI pipeline triggers
Change-Id: Ic025465136c9e8d36af5a67e9e0880671f59a329
2024-05-21 12:37:49 -04:00
Giovanni LB 7c45264e00 Scrapping a microsecond from perfetto
Change-Id: I6d9e360a1530d9cb147c64dd45dc47cfc2d13ea1
2024-05-16 11:32:17 -04:00
gobhardw 1088305d18 SWDEV-443556 Fixing hip trace for hipfft applications
Change-Id: I0076911fac755d3cf485e9fb9a5a51b13d0198c3
2024-05-15 02:17:46 -04:00
Ammar ELWazir 5d1320928c SWDEV-419012: Adding New Perfetto SDK & Fixing early destruction of perfetto plugin
Change-Id: Ie1d8e753f10a1ba0686b021c14b788b444499f14
2024-05-14 11:24:40 -04:00
Ammar ELWazir 95241eef3b Remove the force of using DEB,RPM,TGZ CPACK_GENERATOR
Change-Id: I2462831a31ebe74c9c69e332b5960631bb1ef279
2024-05-13 14:42:14 -04:00
Ammar ELWazir 988bf4f93d SWDEV-415888: fixing issues with rocprof tool duplication for testing
Change-Id: I9168029cfc9519879bd024286ca6e2d9842deb85
2024-05-12 16:55:20 +00:00
Giovanni LB 0fc74490cd Reducing rocprofilerv2 memory usage
Change-Id: I13c2dec763818df38868593bba0223f01132bb7a
2024-05-09 18:57:22 -04:00
Giovanni LB 67faf92553 Fixing crash on [deprecated] file mode
Change-Id: I39b644429d19b185f278caa039a3180c2fa3ab7c
2024-05-09 06:17:07 -03:00
Ammar ELWazir dff73bfed6 JSON can be generated from --stats now
Change-Id: Ia9733c4a99f00ff67e63a6845ed28fad3f98d754
2024-05-03 21:39:53 -04:00
Giovanni LB 79fc1a6fef Adding missing architectures to featureTests
Change-Id: Ie37f039036cee487c93d746e677f1310294b246d
2024-05-02 10:21:29 -04:00
Giovanni LB 604738fd8d Fixing occupancy metrics for MI300
Change-Id: I25a150dbcd3582cd397a658aa9a991956577cfa8
2024-04-30 15:23:42 -04:00
Giovanni LB 4ef523c84a SWDEV-459693: Allowing runtime kernels for codeobjects in featureTests
Change-Id: I809abcefaa320a3dee6a9d9fc8843162e3e5930e
2024-04-30 13:11:25 -03:00
Giovanni LB 3ae1b6af74 SWDEV-452226: Changing ATT dispatch IDs to match previous kernel-trace change
Change-Id: Ifd00160f2e8705e9ef11d41d284f6625b70de389
2024-04-29 11:56:32 -04:00
Ammar ELWazir 9681d0d8de SWDEV-458196: Fixing PID and TID
Perfetto added more restrictions on the types, so "1" is different from 1 alone, which wasn't the case before. Thats why we are seeing this issue recently

Change-Id: I69835c8f61bb9168fdfcdcd0821c1ba35d0369fe
2024-04-25 15:18:48 -05:00
Ammar ELWazir 28f39abfa4 Barrier Packets are being displayed with kernel dispatches
Workaround to seperate barrier packets in a separate category named GPU Barriers in JSON to easily navigate dispatches in perfetto and chrome tracing UI

Change-Id: I714975f50a186622612e605b98d0b45426d53aa4
2024-04-23 19:36:46 -04:00
gobhardw dc09052d82 SWDEV-452226-dispatch ids to start from 0 for v1 parity
Change-Id: Ib60a6c108131f67395ab1f9d35ad605859d39987
2024-04-23 00:41:55 -04:00
Ammar ELWazir 1be381d18c Fixing issue related to python support in CentOS 7
Change-Id: I296fda319ab82505e836a4179c95c3a1e444ae00
2024-04-22 17:39:36 -05:00
Giovanni LB 97c6b0b867 Re-enabling ATT tests
Change-Id: Ied23410d40eecbbfb8972d36ed065289f74aaa0c
2024-04-17 18:49:55 -03:00
Ammar ELWazir b7a7871fbe SWDEV-408398: Tests to depend on rocprofiler library not the tool library
Change-Id: I462ac1eb2990fffdee30373c379fd1ec15611470
2024-04-11 10:28:17 -04:00
gobhardw f0daa910d8 Disabling PC-sampling compilation
Change-Id: I56cc8a1c69ca32dc147cb945b18e708b3292beaf
2024-04-04 02:17:04 -04:00
Giovanni LB 563b1b023e Moving ATT Parser to v0.5
Change-Id: I0a348c183a9140de81d83e7ec0f337afe859bfd5
2024-04-03 12:06:20 -04:00
gobhardw 79096aff75 SWDEV-454917 Fix for multi-line input files in counter collection
Change-Id: Ibe63514cb6e14fe628f60a9f1952df24802d6d05
2024-04-03 15:09:57 +05:30