Grafik Komit

54 Melakukan

Penulis SHA1 Pesan Tanggal
Ammar ELWazir 9e62e066fe 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
2023-05-02 22:44:43 -04:00
Ranjith Ramakrishnan e7eb195924 SWDEV-345870 - Correct include paths for new directory layout
Use hsa header files from /opt/rocm-ver/include rather than using wrapper files from /opt/rocm-ver/hsa/include/hsa

Change-Id: Id7a9bde19447cd2a0fd6e03b11c08471f09c2a46
2022-07-14 16:08:41 -07:00
Chun Yang 55fdd451f3 Change obj_map_ from pointer to object
Change-Id: Ibc2fb8812c34b44d7b59275f2850bb127b9def7c
2021-07-28 11:52:44 -07:00
Chun Yang 6da2b19562 SWDEV-283942 : Fixed false error report from rocprofiler
Change-Id: Ifc6eb0cb26f60a5596e1b626a578135ae9080f26
2021-05-17 14:16:50 -07:00
Evgeny c4828a9de0 concurrent: enable PmcStopper to end perf counting.
Change-Id: I89785277678141e29349e162df10203787050643
2021-04-09 08:06:42 +00:00
Evgeny 96ff7582ce porting of AQL packet submit to new atomic HSA queue API
Change-Id: I654448a7a8627978395d426118a5cb3ba2a92058
2020-10-12 09:26:27 -05:00
Xianwei Zhang e26210d9d9 concurrent: improve concurrent profiling
This patch adds barrier packets, together with extra signals,
to enforce the completion order of read packets w.r.t dispatch.
And, PmcStopper is added to stop the profiling finally.

Change-Id: I8e8d3a41d86e42be1d9e5afd44c247be876cf1a5
2020-08-05 18:20:14 -04:00
Evgeny 80747de208 optimization mechanism fix: correct tracker handler; kernel name query on completion;
Change-Id: I14da152b4ac3c7d8fd1af2f54e9d71f834071622
2020-08-03 23:34:49 -05:00
Xianwei Zhang 61c9df4631 pmc: add support of concurrent kernel profiling
The profiling was only enabled in serial mode, i.e., kernels
are serialized in execution, and counters are reset at each
kernel start and read at kernel completion. This patch adds
the concurrent mode, by issuing the process-level start
packet to reset counters, and then reading twice at kernel
start and end time to obtain the counter value difference.
The new concurrent profiling usage needs the integration
with the corresponding augment at aqlprofile side.

Change-Id: I94b4442eadc8c64b8fba51b1e4916fc8b895ad21
2020-07-16 14:39:46 -05:00
Evgeny 2a7f77b290 counters dumping optimization
Change-Id: I8c694e5380e15179453148dd9ab3a3e51b6db861
2020-07-15 09:57:41 -05:00
Evgeny 9f7e936d70 concurrent sqtt support
Change-Id: I91391fafabc93aefa5d244d870ef82b96a59dc52
2020-06-23 20:00:49 -04:00
Evgeny 3af87a7423 adding pid for kernel results to support multi-process profiling
Change-Id: I283228a4b4145599c5e637dd6faa771b9f4b6345
2020-05-05 05:35:32 -05:00
Evgeny 7be9a42ab3 fixing hsa intercept test
Change-Id: I2671dfc6a9bd3e01a0c926aa3ea367b8c7a0279e
2020-03-28 17:24:16 -05:00
Evgeny 9df9fddcfb PC sampling bringup
Change-Id: I0d041c4c8c3778f2c328cde38432bc72223706a3

pc sampling integration fix

Change-Id: Ia66ff876d2d99ec4d561daf8320b65d75f5cd2fe
2020-03-28 13:07:45 -05:00
Evgeny 2dacdd041d clang compilation fix
Change-Id: I4fb4625407faade8ee72c9fe7d0176991e772dde
2020-03-24 15:40:10 -05:00
Evgeny a5f52b40f5 JSON kernel name propogation and stats
Change-Id: I60cf4c7608272941e2499bd251850416ac254f32
2020-02-26 19:45:49 -06:00
Evgeny d2324e780f hsa-interept mode enabling in head
Change-Id: I048a975deaae691868034ee361fea71ffb5bdd83
2020-02-14 00:22:36 -06:00
Evgeny 3d4c4d1cce device id/type for submit callback
Change-Id: I69b31bd28850198c8ca44e55bf8f2ff9540d92fc
2020-02-13 22:00:56 -06:00
Evgeny 93a8a3cb84 dispatch callback data queue field fix
Change-Id: Ife6f1835c8e83a8533e518535c9ea0f20087c58c
2020-02-13 22:00:56 -06:00
Evgeny c69d414c94 adding queue pointer to submit callback data
Change-Id: Ib86627a18b24f10e3de396f145fb957f496333fe
2020-02-13 22:00:56 -06:00
Evgeny 086c29fff1 adding code object freeze handling, kernel code allocate/device callbacks
Change-Id: I6ec32a0c4e945260cd11f88c1d2a0a7f22d6e10c

documenting comments

Change-Id: I1b7af70d51042c48aef0474d0b6b54275b42c456
2020-02-13 22:00:56 -06:00
Evgeny f95ed067ba adding allocate/device/memcopy/submit callbacks
Change-Id: Ie83ae3cd57cdf5038e83db70891b103439c37d55
2020-02-13 22:00:08 -06:00
Evgeny 0e79fbaee8 adding hsa-interceptor, preliminary
Change-Id: I18f7ba3df223cb16bc6c055792834a3fee7c2373
2020-02-13 21:34:02 -06:00
Evgeny 5d2b23d751 queue callback start/stop methods
Change-Id: Idba6624bb177096ef879f53f6aec80283ca18ce5
2020-01-14 10:25:13 -06:00
Evgeny 60043d198b code object tracking and v3 code object support
Change-Id: I081ada13f6364ea4401a97a485dedfa9bf8a45fe
2019-11-19 20:18:09 -06:00
Evgeny a91d1e039a adding hsa_system_get_info, hsa_amd_profiling_set_profiler_enabled to shadow hsa api table
Change-Id: I18859caa45c268f573210aad0b5d8bcc745d3e2e
2019-04-02 12:22:34 -05:00
Evgeny 996b64309a fix of reported completion signal in th ecase when it is proxied by the tracker
Change-Id: Ic1100fde03bc34e0130405285d32d6b97a031967
2019-02-20 19:21:35 -06:00
Evgeny 2b2a279ce9 hsa memcopy tracking
Change-Id: I61bc4ea01a62b587d5941f9d0e9e358a6ed71b5a
2019-01-07 01:53:27 -06:00
Evgeny 64e0325a0d adding kernel properties
Change-Id: I5d8672400357d5ef5cbfb5023d82f712fdaf7057
2018-12-21 18:02:26 -06:00
Evgeny d08e240928 intercepting queue delete fixed without the callback registered
Change-Id: If278c3fbd0feb91937981aee95039a243efaa130
2018-12-20 09:41:36 -06:00
Evgeny f977ac2fbf rpl_run w/o input file; queue create callback; test for n gpus and n threads
Change-Id: I37157c49cf6454de591cae97b5cc43287ea95956
2018-10-30 14:19:45 -05:00
Evgeny c05bded17c dispatch data th-id, queue-id, kernel-object
Change-Id: Ic5593603c6587cad17be33618d011a9aefc648ab
2018-10-16 19:33:48 -05:00
Evgeny 13fe0f9f69 fix the scenario with timestamps enabled only with rabge enabled
Change-Id: I5c96fdec5e92275b1154208a4c8a1605caa1639f
2018-10-05 19:32:13 -05:00
Evgeny 8c423d9a31 enabling timestamping only
Change-Id: Ic2a26d782bf8889afc89c6497c76fd241df8d221
2018-08-24 21:07:45 -05:00
Evgeny f6f857f6f4 licensing annotation
Change-Id: Icdd79e25e7ba30e777f1024697f87d583f380a62
2018-08-19 04:18:55 -05:00
Evgeny 4d790c8eee adding tracker handler
Change-Id: Iea47c25b3c9b6e1eadf097c34323727181975cca
2018-07-25 14:55:21 -05:00
Evgeny 7ba92e192b queue profiled API
Change-Id: I08f496fa76903738e937d2f29dc558ed9def3e0a
2018-07-10 16:56:27 -05:00
Evgeny 19fa38b294 fixing hsa queues profiling enabling
Change-Id: Ifec5a60ec32bdba40c366ac302659d69d47cc275
2018-07-06 18:25:55 -05:00
Evgeny add56e26ae license annotations
Change-Id: I96b8f625a03b707b45aee6b8e7dbfabe073294c6
2018-06-25 19:52:28 -05:00
Evgeny b8fc3818de adding dispatch_packet field to rocprofiler_callback_data_t
Change-Id: I3cbe256130fa23dd24b094f27286d566ed339230
2018-05-22 13:17:03 -05:00
Evgeny 62531b88ed rc file options: 'basenames', 'timestamp', 'ctx-limit', 'heartbeat', 'sqtt-size' 2018-04-11 13:26:58 -05:00
Evgeny cc3146ba81 tool: adding wait list
Change-Id: I6f161ddc9aef953b62e52004bd081327d34a9470
2018-03-18 04:04:34 -05:00
Evgeny caa15d7186 dispatch vs profiling packets signals race fixed
Change-Id: I7f250d01f3d45f3f8ec2539b2187ab99503850aa
2018-03-16 10:34:44 -05:00
Evgeny 363700581a adding timestamps dispatch/begin/end/complete
Change-Id: I8c23e5f7ff75174243224ff008ba266553ee30c8
2018-03-05 20:59:01 -06:00
Evgeny 1c8f767da4 profiling controll options 2018-02-27 13:32:11 -06:00
Evgeny 33b3546fe4 adding queue destroy callback 2018-02-21 19:59:47 -06:00
Evgeny a9a5119399 contrctor/destructor changes, OnLoad/OnUnload functions, removed hsa_init()/hsa_shutdown() 2018-02-21 10:07:59 -06:00
Evgeny 0b0ce2d931 update 2018-02-19 18:18:51 -06:00
Evgeny 8270530fec several fixes; adding direct loading of alprofile library 2017-12-19 15:32:34 -06:00
Evgeny 8f6ee97b13 C++ kernel name demangling 2017-12-13 16:51:43 -06:00