Commit Graph

225 Commits

Author SHA1 Message Date
Ammar ELWazir fb3baedbcf Removing Kernel Trace from sys-trace as HIP_OPS have the same results
Change-Id: I17a578487e5b4f4f215d3af123a9e63e295bf6d8


[ROCm/rocprofiler commit: fe3fa1d83f]
2023-06-23 16:16:50 -04:00
gobhardw 518312a00f Fixing input file processing and ATT
Change-Id: I34b674d6a6f67796c4747e40e2e3715780ffdb26


[ROCm/rocprofiler commit: 19099328cf]
2023-06-23 21:21:47 +05:30
gobhardw 90d27bbec4 Fixing Broken Tracing APIs
Change-Id: Ia73ff534fb8da81254007f28984f9f34f91bfb2c


[ROCm/rocprofiler commit: f44b80acfb]
2023-06-23 13:49:01 +05:30
gobhardw b309f4e54d Fixing --list-counters from rocm path
Change-Id: I5746b862e6dd9050703dd0d9a793a37187ec2343


[ROCm/rocprofiler commit: cc5a1189db]
2023-06-22 00:16:39 -04:00
Ammar ELWazir 6964105c1f SWDEV-288134: Workaround to enable roctracer early
Change-Id: I65d776af07a270f25acd4f918f33008d4588aa08


[ROCm/rocprofiler commit: 40a36a201e]
2023-06-21 18:54:19 -04:00
Ammar ELWazir ef96663e82 SWDEV-374256: GPU Kernel Dispatch Trace Period Support
Change-Id: Idaabe82a30013e3aba4bcb65bd0a89ce2d14ad97


[ROCm/rocprofiler commit: 472624e3bd]
2023-06-21 12:46:33 -04:00
Ammar ELWazir 7cbd66407c SWDEV-403398: ROCProfiler V2 Optimizations
1- Optimizations for current profiler, tracer classes
2- Adding Flush Interval functionality
3- Adding Trace Period functionality

Change-Id: I319b76b723516abad34565cd8364326e8435e634


[ROCm/rocprofiler commit: 93c28b5d39]
2023-06-21 12:46:15 -04:00
gobhardw 0d09bed641 Handle user input if first PMC line is empty
Change-Id: I456fd9360a4a8506fadcc975e71da112a26b07ae


[ROCm/rocprofiler commit: c6729adaed]
2023-06-20 21:56:04 -04:00
Giovanni LB 67a8247617 Removed filter ignoring PMC/ATT
Change-Id: I455bca0fe2c1016f5c04bd7c9c1b9cf90702bff7


[ROCm/rocprofiler commit: 83dac81840]
2023-06-20 11:25:03 -04:00
Ammar ELWazir 4e1819c918 SWDEV-391589: Fixing File plugin output text
Change-Id: I5e1d46431ca2b93661772b062996ed62574c36f9


[ROCm/rocprofiler commit: d3c39dca88]
2023-06-17 00:21:56 -04:00
gobhardw 1f8971c066 Fixing SEGFAULT when running profiler from outside build
Change-Id: Idd8d2562157536e8c386421920b9045615a85635


[ROCm/rocprofiler commit: 882f5e9967]
2023-06-15 20:26:19 +05:30
Ammar ELWazir dfa893ed83 Fixing Build Library Paths
Change-Id: If71f548dda3dd7cab3dc251b4a3e6389cfc9e4f9


[ROCm/rocprofiler commit: 7ea04a63c5]
2023-06-10 10:30:25 -04:00
Ammar ELWazir 84677d785f Tests fix
Change-Id: I1fe7ab12c20e83f0bfc710bfc6db6a8d03802dd5


[ROCm/rocprofiler commit: 8350f42329]
2023-06-10 10:26:33 -04:00
Ammar ELWazir 156f787533 SWDEV-296009: Disabling ROCP_MCOPY_DATA
Change-Id: I5bbc529831d60e254d510a176b432395daac280a


[ROCm/rocprofiler commit: 2e3d0ee110]
2023-06-07 12:10:53 -04:00
Ammar ELWazir f033633c04 Fixing Readme & File structure & Typos
Change-Id: I354b4e0e0448c3e8555d0b766b2c410c8049c2ff


[ROCm/rocprofiler commit: f308e36798]
2023-05-31 18:00:16 -04:00
Sriraksha Nagaraj a305118408 SWDEV-356166: Adding fix to load rocminfo without it in the PATH variable
Change-Id: I3f36900b47b72fab44c561123cd7600161124430


[ROCm/rocprofiler commit: 3fe6016957]
2023-05-31 14:49:11 -04:00
Ammar ELWazir 5a7dec797e SWDEV-403050: Multiple fixes for Memory Leaks in profiler
Change-Id: Ib720a81105af13898ff745ce0cbc2a48c1f4a980


[ROCm/rocprofiler commit: 08fc21ac31]
2023-05-30 21:41:54 -05:00
Saurabh Verma dcd5f1a397 MI300 counters support for rocprof and rocprofv2(Accumulation from all xccs)
1. Xml files updated for gfx940 counters
2. File plugin changes to allow rocprofv2 backward compatibility for results.csv
3. Changes in rocprofv2 script to use tblextr.py, to generate results.csv just like rocprof

Change-Id: I7798f4411ce01f6fbfffb126de654ed806ca7045
(cherry picked from commit 86cbaf38c436be876f0426fa27803b1e64d90378)


[ROCm/rocprofiler commit: 8f82ff6a46]
2023-05-30 21:41:54 -05:00
Giovanni LB 11acda6290 SWDEV-401887: Removed output folder sent to att.py
Change-Id: I3e09c1ead9c24a5fd03cd26e4bee18d580a2f377


[ROCm/rocprofiler commit: cd9ad067fa]
2023-05-25 07:52:01 -03:00
Ammar ELWazir af2247a018 Fixing ROCSYS
Change-Id: I907e2d0dae0413ebda4f83227dfe99e8a8f86d12


[ROCm/rocprofiler commit: 3368b7483f]
2023-05-25 00:26:01 -04:00
gobhardw 1ffdf1ed3c SWDEV-388373 : plugins option validates plugin name
Change-Id: Id1aa810bb6f1f8e52fc0b2f2e5332dd44bf71708


[ROCm/rocprofiler commit: b817742d89]
2023-05-24 01:41:13 -04:00
gobhardw 64866d9aa4 SWDEV-387956 : Added CTF in --help option and Fixed plugin path
Change-Id: I666084ddd4f77c4e1c012b6ca13d101e11dbc494


[ROCm/rocprofiler commit: 31c9bc44e1]
2023-05-23 00:42:16 +05:30
gobhardw d869b23a4f fixing ci test issues for v1
Change-Id: I6be62c83a04b6a1a9f7b128086762dcf5ad79fb4


[ROCm/rocprofiler commit: 70a6c26704]
2023-05-17 21:32:12 -04:00
Ammar ELWazir 32f2e4c2e4 Fixing rocprofv2 script
Change-Id: I96ee69e284eb51dc1fbd23682d3d88699a298dae


[ROCm/rocprofiler commit: ac6a76d718]
2023-05-17 11:41:16 -04:00
Ammar ELWazir 548d853f56 SWDEV-387702 & SWDEV-387711: Fixing the location of the rocprofilerv2 tool
Change-Id: I5a7439351f1153c4c9f29b3fb4990fcc4de69c65


[ROCm/rocprofiler commit: 256875a69f]
2023-05-16 18:10:49 +00:00
Ammar ELWazir 2ffc3d1adc Fixing rocprofv2 script
Change-Id: I3adbd216116ad44032e5a01d880f9cf4d4074ae7


[ROCm/rocprofiler commit: 52eebaa6e6]
2023-05-15 18:40:41 -04:00
Giovanni LB 9cb1e39a19 SWDEV-391616: Added network/file/off option for ATT analysis.
Change-Id: I77d0d6d6652f0bf1b3f46d919aec5c17e29f3da7


[ROCm/rocprofiler commit: 55c6a2d4ad]
2023-05-10 18:39:48 -04:00
Giovanni LB 6da425028c PLAT-130888: Added counter no-server/json_dump option.
Change-Id: I22fc2477845982beef8934d2fb55b519d2b2960c


[ROCm/rocprofiler commit: 317147ca11]
2023-05-10 18:39:38 -04:00
Ammar ELWazir 005880b4aa SWDEV-398583: Fix for ATT AQLProfile lib Path in rocprofv2
Change-Id: I2b50916654ac5b1abcc9c37a267911cbf9f471a8


[ROCm/rocprofiler commit: 18110d146e]
2023-05-05 07:14:09 +00:00
Ammar ELWazir 7647f6988f V1/V2 API Library Separation
V1 library will be supported as librocprofiler64.so and V2 will be supported as librocprofiler64v2.so and headers will be rocprofiler.h for V1 and v2/rocprofiler.h for v2

Change-Id: Ibe5bdbf2f79f0175342c648e917ae77918186604


[ROCm/rocprofiler commit: 9e62e066fe]
2023-05-02 22:44:43 -04:00
Giovanni LB 375d5c1b07 PLAT-130888: Added support for .out files
Change-Id: Ia2fe1966e0264f42ee1159d732d5606438b7bb91


[ROCm/rocprofiler commit: fd2376fe90]
2023-04-20 23:15:07 -04:00
gobhardw c025860b9b updated README for plugins
Change-Id: I8875bf8b624c8e09467bcb30e2794bdf41b31872


[ROCm/rocprofiler commit: ef31a96b55]
2023-03-29 15:55:05 +00:00
Sriraksha Nagaraj b94298e94d SWDEV-379542: Adding to LD_PRELOAD instead of overriding it
Change-Id: Ib6395454ab6d09124baf2f958f26384f8689f64e


[ROCm/rocprofiler commit: f29b968185]
2023-03-09 13:21:09 +00:00
Ammar ELWazir 78916421e4 Solving failed tests for rocprofiler v1
Change-Id: I61ffc4380b077db3a23c9dbb3e680324cf7f1a4a


[ROCm/rocprofiler commit: ceefad27d0]
2023-03-09 13:21:08 +00:00
Giovanni LB a7329eb8ee SWDEV-384602: Solved issues with multiple users.
Change-Id: Ie40addcbfdfce6ce45ceec8e38fc83d3d72882eb


[ROCm/rocprofiler commit: 4ec67854e5]
2023-03-09 13:21:07 +00:00
Ammar ELWazir ff80dd4dfa Fixing rocprofilerv2 naming and CMake issues
Change-Id: Ib6d336349a056731e5c0f35151296d6fea671360


[ROCm/rocprofiler commit: dc69331379]
2023-03-09 13:21:01 +00:00
Ammar ELWazir 14333c3a8a Fixing Packages installation path
Change-Id: Ide3536b3c6050effcc9337e612375a7e5ddb6522


[ROCm/rocprofiler commit: 9b0e58dfdf]
2023-03-09 13:20:37 +00:00
Konstantin Zhuravlyov b23a2f3029 Explain why kernels are compiled with code object v4
Change-Id: Ib0502f005faa513105cf570a0013517d6c6349c3


[ROCm/rocprofiler commit: e0e5f7336b]
2023-02-03 21:54:33 -05:00
Konstantin Zhuravlyov 2f773d893c Compile kernels with code object v4
Change-Id: I3dc05dff07888cea79ba0a51eaac17ed64f5fec0


[ROCm/rocprofiler commit: d9c9d39902]
2023-02-03 16:17:34 -05:00
Ammar ELWazir be0c6a3380 Suppressing the hipGraphLaunch issue
hipGraphs acts as a separate activity group as they have their own memory copies and their kernel dispatches and more activities, currently hip api that roctracer depend on doesn't have a way to represent this type, so we are temporarily suppressing the issue up till we have a complete support for the hipGraphs

Change-Id: I5d889be05c9414530672c781e5a712d572ea4104


[ROCm/rocprofiler commit: bbbd177dd7]
2022-11-01 23:29:05 -05:00
Ammar ELWazir 39c2d67ce8 Fixing merge_traces.sh
merge_traces.sh was depending on tblextr.py, and the location of tblextr.py changed from bin to libexec/rocprofiler

Change-Id: I76f1a0f41ffcff26e6a1119dacfb8b2ebd56d17d


[ROCm/rocprofiler commit: 7e8df53c44]
2022-10-28 10:28:36 -05:00
Laurent Morichetti ee8efd3e2b SWDEV-362165 - Escape argument strings in the JSON file
"a_string\x000" -> \"a_string\\x000\"

Change-Id: I8bf054702b34577f84080080d9538b16abc996fe


[ROCm/rocprofiler commit: 3b61d6bd8c]
2022-10-18 01:47:46 -04:00
Sriraksha Nagaraj 1e64045fb1 SWDEV-359118 - fix for misrepresentation for stream ids in Json file
Some trace entries report the stream argument as 'stream=' and some report it as 'hStream='.
Change-Id: I9e7c7af162db72ddadf6f2a3fe4f44a04bf77ed6


[ROCm/rocprofiler commit: 3bb853c56d]
2022-10-13 21:48:48 -04:00
Sriraksha Nagaraj 615dd27e77 SWDEV-287352 - Changing the description for timestamp option
Change-Id: Ie1d942f7560838efbc38394b21facf04df9bbda5


[ROCm/rocprofiler commit: c565e2f329]
2022-07-07 15:08:53 -04:00
Sriraksha Nagaraj 541764daad SWDEV-323976 - changes in the scripts to display copy activity in the trace output
Change-Id: If8f7df3668c075a8f21508c796220693be9b40d3


[ROCm/rocprofiler commit: b0152e0091]
2022-07-05 16:24:45 -04:00
Sriraksha Nagaraj 5272d9dc81 SWDEV-287352: Fixing typos in the rocprof --help description
Change-Id: I39739e53e477c9e621da1b686e248b5d7aff5ad2


[ROCm/rocprofiler commit: c9efa4891e]
2022-06-29 16:26:25 +00:00
Ammar ELWazir e09315af9f Enabling ROCP_STATS_OPT
Enabling the new methodology of ROCP_STATS_OPT of getting HIP activities while the application is running

Change-Id: I19d09e2f2abe16e6528240bf55d6048645aaa09f


[ROCm/rocprofiler commit: 6f97e15d55]
2022-06-21 19:30:38 -05:00
Ammar ELWazir a5bd7dd935 Google-Chrome Tracer parser attaching flow events to the wrong time slice
This issue happens when we have slices that have overlapping
timestamp values (i.e. start_ts + dur = start_ts of next slice)
and the flow event references that shared timestamp value.
The google chrome parser sorts all the events
and just taking the most recent one.
Rocprof is outputting flow attachment points as start+dur;
the end ts of the slice that can overlap with the next slice
if no gap between them.

Solution proposal by Michael Steffen (Michael.Steffen@amd.com)

Change-Id: Ifcde142144033c9012b01a78c95f047384f972dd


[ROCm/rocprofiler commit: 93a79eb99a]
2022-06-13 14:53:14 -04:00
Ammar ELWazir 48e2400848 SWDEV-338186: Fixing Roctracer tool name, path
Using libroctracer_tool.so instead of libtracer_tool.so and fixing the paths for the tracer tool

Change-Id: I9b3ca885f3ca5385b106d5376894b1b4054f9c1d


[ROCm/rocprofiler commit: 0be6306cae]
2022-05-20 05:26:33 -04:00
Laurent Morichetti d4241d5241 Register the tracer API as a tool library
In a future change, the tracer API library (libroctracer64.so) will be
automatically registered as a tool library. Until then, explicitly
register it by adding it to the HSA_TOOLS_LIB environment variable.

Change-Id: I44d78ac38608e6da5edf04b498a73485f5609d06


[ROCm/rocprofiler commit: 0123aa61fa]
2022-05-04 19:19:34 -07:00