Commit Graph

50 Commits

Author SHA1 Message Date
Evgeny 867ae7b2dd concurrent: enable PmcStopper to end perf counting.
Change-Id: I89785277678141e29349e162df10203787050643


[ROCm/rocprofiler commit: c4828a9de0]
2021-04-09 08:06:42 +00:00
Evgeny e06ff588ce porting of AQL packet submit to new atomic HSA queue API
Change-Id: I654448a7a8627978395d426118a5cb3ba2a92058


[ROCm/rocprofiler commit: 96ff7582ce]
2020-10-12 09:26:27 -05:00
Xianwei Zhang bc27ae1adf 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


[ROCm/rocprofiler commit: e26210d9d9]
2020-08-05 18:20:14 -04:00
Evgeny a331990ee4 optimization mechanism fix: correct tracker handler; kernel name query on completion;
Change-Id: I14da152b4ac3c7d8fd1af2f54e9d71f834071622


[ROCm/rocprofiler commit: 80747de208]
2020-08-03 23:34:49 -05:00
Xianwei Zhang f95b383dfa 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


[ROCm/rocprofiler commit: 61c9df4631]
2020-07-16 14:39:46 -05:00
Evgeny 3d44ea1a05 counters dumping optimization
Change-Id: I8c694e5380e15179453148dd9ab3a3e51b6db861


[ROCm/rocprofiler commit: 2a7f77b290]
2020-07-15 09:57:41 -05:00
Evgeny c75faaaa37 concurrent sqtt support
Change-Id: I91391fafabc93aefa5d244d870ef82b96a59dc52


[ROCm/rocprofiler commit: 9f7e936d70]
2020-06-23 20:00:49 -04:00
Evgeny 212aefac7d adding pid for kernel results to support multi-process profiling
Change-Id: I283228a4b4145599c5e637dd6faa771b9f4b6345


[ROCm/rocprofiler commit: 3af87a7423]
2020-05-05 05:35:32 -05:00
Evgeny 943b92d4c7 fixing hsa intercept test
Change-Id: I2671dfc6a9bd3e01a0c926aa3ea367b8c7a0279e


[ROCm/rocprofiler commit: 7be9a42ab3]
2020-03-28 17:24:16 -05:00
Evgeny 67e1502ce5 PC sampling bringup
Change-Id: I0d041c4c8c3778f2c328cde38432bc72223706a3

pc sampling integration fix

Change-Id: Ia66ff876d2d99ec4d561daf8320b65d75f5cd2fe


[ROCm/rocprofiler commit: 9df9fddcfb]
2020-03-28 13:07:45 -05:00
Evgeny 3cfc00ea1d clang compilation fix
Change-Id: I4fb4625407faade8ee72c9fe7d0176991e772dde


[ROCm/rocprofiler commit: 2dacdd041d]
2020-03-24 15:40:10 -05:00
Evgeny cc285d5b48 JSON kernel name propogation and stats
Change-Id: I60cf4c7608272941e2499bd251850416ac254f32


[ROCm/rocprofiler commit: a5f52b40f5]
2020-02-26 19:45:49 -06:00
Evgeny a40ba7a793 hsa-interept mode enabling in head
Change-Id: I048a975deaae691868034ee361fea71ffb5bdd83


[ROCm/rocprofiler commit: d2324e780f]
2020-02-14 00:22:36 -06:00
Evgeny c1b7e4353a device id/type for submit callback
Change-Id: I69b31bd28850198c8ca44e55bf8f2ff9540d92fc


[ROCm/rocprofiler commit: 3d4c4d1cce]
2020-02-13 22:00:56 -06:00
Evgeny ed9b97c1a0 dispatch callback data queue field fix
Change-Id: Ife6f1835c8e83a8533e518535c9ea0f20087c58c


[ROCm/rocprofiler commit: 93a8a3cb84]
2020-02-13 22:00:56 -06:00
Evgeny 154a792942 adding queue pointer to submit callback data
Change-Id: Ib86627a18b24f10e3de396f145fb957f496333fe


[ROCm/rocprofiler commit: c69d414c94]
2020-02-13 22:00:56 -06:00
Evgeny 59bc8da846 adding code object freeze handling, kernel code allocate/device callbacks
Change-Id: I6ec32a0c4e945260cd11f88c1d2a0a7f22d6e10c

documenting comments

Change-Id: I1b7af70d51042c48aef0474d0b6b54275b42c456


[ROCm/rocprofiler commit: 086c29fff1]
2020-02-13 22:00:56 -06:00
Evgeny 3b84973737 adding allocate/device/memcopy/submit callbacks
Change-Id: Ie83ae3cd57cdf5038e83db70891b103439c37d55


[ROCm/rocprofiler commit: f95ed067ba]
2020-02-13 22:00:08 -06:00
Evgeny 845ef4f4b0 adding hsa-interceptor, preliminary
Change-Id: I18f7ba3df223cb16bc6c055792834a3fee7c2373


[ROCm/rocprofiler commit: 0e79fbaee8]
2020-02-13 21:34:02 -06:00
Evgeny 9f7406d75a queue callback start/stop methods
Change-Id: Idba6624bb177096ef879f53f6aec80283ca18ce5


[ROCm/rocprofiler commit: 5d2b23d751]
2020-01-14 10:25:13 -06:00
Evgeny 9b183d909e code object tracking and v3 code object support
Change-Id: I081ada13f6364ea4401a97a485dedfa9bf8a45fe


[ROCm/rocprofiler commit: 60043d198b]
2019-11-19 20:18:09 -06:00
Evgeny 06778e004b adding hsa_system_get_info, hsa_amd_profiling_set_profiler_enabled to shadow hsa api table
Change-Id: I18859caa45c268f573210aad0b5d8bcc745d3e2e


[ROCm/rocprofiler commit: a91d1e039a]
2019-04-02 12:22:34 -05:00
Evgeny 33e8160a54 fix of reported completion signal in th ecase when it is proxied by the tracker
Change-Id: Ic1100fde03bc34e0130405285d32d6b97a031967


[ROCm/rocprofiler commit: 996b64309a]
2019-02-20 19:21:35 -06:00
Evgeny 63150d03e1 hsa memcopy tracking
Change-Id: I61bc4ea01a62b587d5941f9d0e9e358a6ed71b5a


[ROCm/rocprofiler commit: 2b2a279ce9]
2019-01-07 01:53:27 -06:00
Evgeny 2dff8e83f4 adding kernel properties
Change-Id: I5d8672400357d5ef5cbfb5023d82f712fdaf7057


[ROCm/rocprofiler commit: 64e0325a0d]
2018-12-21 18:02:26 -06:00
Evgeny 5745d01e9c intercepting queue delete fixed without the callback registered
Change-Id: If278c3fbd0feb91937981aee95039a243efaa130


[ROCm/rocprofiler commit: d08e240928]
2018-12-20 09:41:36 -06:00
Evgeny 0202229629 rpl_run w/o input file; queue create callback; test for n gpus and n threads
Change-Id: I37157c49cf6454de591cae97b5cc43287ea95956


[ROCm/rocprofiler commit: f977ac2fbf]
2018-10-30 14:19:45 -05:00
Evgeny 924d3a8f03 dispatch data th-id, queue-id, kernel-object
Change-Id: Ic5593603c6587cad17be33618d011a9aefc648ab


[ROCm/rocprofiler commit: c05bded17c]
2018-10-16 19:33:48 -05:00
Evgeny 4f7e68ada5 fix the scenario with timestamps enabled only with rabge enabled
Change-Id: I5c96fdec5e92275b1154208a4c8a1605caa1639f


[ROCm/rocprofiler commit: 13fe0f9f69]
2018-10-05 19:32:13 -05:00
Evgeny 7ffa654a53 enabling timestamping only
Change-Id: Ic2a26d782bf8889afc89c6497c76fd241df8d221


[ROCm/rocprofiler commit: 8c423d9a31]
2018-08-24 21:07:45 -05:00
Evgeny 5af5a02478 licensing annotation
Change-Id: Icdd79e25e7ba30e777f1024697f87d583f380a62


[ROCm/rocprofiler commit: f6f857f6f4]
2018-08-19 04:18:55 -05:00
Evgeny 1027ae42f5 adding tracker handler
Change-Id: Iea47c25b3c9b6e1eadf097c34323727181975cca


[ROCm/rocprofiler commit: 4d790c8eee]
2018-07-25 14:55:21 -05:00
Evgeny 0f28f1b684 queue profiled API
Change-Id: I08f496fa76903738e937d2f29dc558ed9def3e0a


[ROCm/rocprofiler commit: 7ba92e192b]
2018-07-10 16:56:27 -05:00
Evgeny 7ccd12634b fixing hsa queues profiling enabling
Change-Id: Ifec5a60ec32bdba40c366ac302659d69d47cc275


[ROCm/rocprofiler commit: 19fa38b294]
2018-07-06 18:25:55 -05:00
Evgeny 368f9f2b5d license annotations
Change-Id: I96b8f625a03b707b45aee6b8e7dbfabe073294c6


[ROCm/rocprofiler commit: add56e26ae]
2018-06-25 19:52:28 -05:00
Evgeny ae9c4f2ea4 adding dispatch_packet field to rocprofiler_callback_data_t
Change-Id: I3cbe256130fa23dd24b094f27286d566ed339230


[ROCm/rocprofiler commit: b8fc3818de]
2018-05-22 13:17:03 -05:00
Evgeny d4817a45b1 rc file options: 'basenames', 'timestamp', 'ctx-limit', 'heartbeat', 'sqtt-size'
[ROCm/rocprofiler commit: 62531b88ed]
2018-04-11 13:26:58 -05:00
Evgeny 21b81917a6 tool: adding wait list
Change-Id: I6f161ddc9aef953b62e52004bd081327d34a9470


[ROCm/rocprofiler commit: cc3146ba81]
2018-03-18 04:04:34 -05:00
Evgeny 6e4240aef7 dispatch vs profiling packets signals race fixed
Change-Id: I7f250d01f3d45f3f8ec2539b2187ab99503850aa


[ROCm/rocprofiler commit: caa15d7186]
2018-03-16 10:34:44 -05:00
Evgeny 777eb116d4 adding timestamps dispatch/begin/end/complete
Change-Id: I8c23e5f7ff75174243224ff008ba266553ee30c8


[ROCm/rocprofiler commit: 363700581a]
2018-03-05 20:59:01 -06:00
Evgeny c1b3fa7d52 profiling controll options
[ROCm/rocprofiler commit: 1c8f767da4]
2018-02-27 13:32:11 -06:00
Evgeny ff5b92b47b adding queue destroy callback
[ROCm/rocprofiler commit: 33b3546fe4]
2018-02-21 19:59:47 -06:00
Evgeny 6eef0003a5 contrctor/destructor changes, OnLoad/OnUnload functions, removed hsa_init()/hsa_shutdown()
[ROCm/rocprofiler commit: a9a5119399]
2018-02-21 10:07:59 -06:00
Evgeny 36434ee974 update
[ROCm/rocprofiler commit: 0b0ce2d931]
2018-02-19 18:18:51 -06:00
Evgeny 24695e37be several fixes; adding direct loading of alprofile library
[ROCm/rocprofiler commit: 8270530fec]
2017-12-19 15:32:34 -06:00
Evgeny 0046d5e4a1 C++ kernel name demangling
[ROCm/rocprofiler commit: 8f6ee97b13]
2017-12-13 16:51:43 -06:00
Evgeny b14dd1271d adding kernel name to the dispatch callback data
[ROCm/rocprofiler commit: a41e91a13c]
2017-11-29 15:01:27 -06:00
Evgeny 8b5a6b7fed coding style formatting
[ROCm/rocprofiler commit: cb3a591826]
2017-11-29 13:53:12 -06:00
Evgeny 9824189d37 API update, rev 1.2.3
[ROCm/rocprofiler commit: ac529c96e1]
2017-11-27 16:51:03 -06:00
Evgeny 5fea997bc9 ROC profiler prototype sources importing
[ROCm/rocprofiler commit: 85278f08a0]
2017-11-09 17:26:19 -06:00