Commit Graph

341 Commits

Author SHA1 Message Date
Evgeny 2d42e93cdf kernel objects dumping
Change-Id: I5a16e05b7df438efa903948701b65a9ced99e5f3

initial codeobj event implementation

Change-Id: Ia7fac3c2b9897a004cfe88c4de82ba8c18284196

update - codeobj event implementation

Change-Id: I2b91b6e689875af03f0086f5a0872a97a629fd83

update2 - codeobj event implementation

Change-Id: Icff75f14fd21963e40db95373fa74880957a9e32

fix - codeobj event implementation

Change-Id: I76c33c875cb429fb12a974bb408b217f187b4536

URI buffer fix - codeobj event implementation

Change-Id: I7ce1a758e021455da3fe5b8a6e4ae3ab46e9760e

HSA events exposing

Change-Id: I3664ab4e5111c4ccedaf068dcb19f48055f0ef9b

HSA events data struct normalizing

Change-Id: I365ef0db45e0a9314bd2a1a4d29dd4eb4e91297d


[ROCm/rocprofiler commit: 8850e46071]
2020-09-11 10:01:54 -05:00
Evgeny Shcherbakov fd73d18240 Merge "DB commit on close" into amd-staging
[ROCm/rocprofiler commit: a3fafe585d]
2020-09-11 09:41:03 -04:00
Evgeny Shcherbakov 35a7a530ad Merge "Fix for: statement uses 11, and there are 1 supplied" into amd-staging
[ROCm/rocprofiler commit: ae7e661b5d]
2020-09-03 13:37:00 -04:00
Evgeny Shcherbakov aed8c48279 Merge "concurrent: enable/fix the related settings" into amd-staging
[ROCm/rocprofiler commit: 8263eceef9]
2020-09-01 17:43:08 -04:00
Rachida Kebichi c624daeadf Fix for: statement uses 11, and there are 1 supplied
Change-Id: I7a6e34df865539f5e61686959b686c15bd909017


[ROCm/rocprofiler commit: 30e9ee7b16]
2020-08-28 13:44:41 -05:00
Evgeny 0d363636f6 HSA trace kernel name demangling
Change-Id: I6d8b674137405a93939c38d7e615af5a114f04ca


[ROCm/rocprofiler commit: 858e0b0f8a]
2020-08-28 05:40:17 -05:00
Xianwei Zhang 9c62afb8ba concurrent: enable/fix the related settings
Concurrent profiling relies on the aqlprofile read_api
and tracker. This patch set those options to enable
the concurrent profiling.

Change-Id: Ib97d4d8facfbc11f2684d83109397cd13f117d5e


[ROCm/rocprofiler commit: b445610cd1]
2020-08-26 16:04:57 -04:00
Evgeny 6960dd7024 DB commit on close
Change-Id: I223f4237ba814f69b75c026be7ea9ace95a3d5ae


[ROCm/rocprofiler commit: be69ebd33d]
2020-08-26 01:18:49 -05:00
Evgeny 4e691bd307 passing filename to mem_manager dump
Change-Id: I95cb99a69c4d2f8e55a063388d46a7f7b196f6bd


[ROCm/rocprofiler commit: 5511a969e7]
2020-08-15 04:01:08 -04:00
Evgeny 71a89320ef postprocessing optimisation
Change-Id: I8091f293a80a8c546432932f209327ce97769c98


[ROCm/rocprofiler commit: 8a8f498468]
2020-08-12 13:00:33 -04:00
Evgeny Shcherbakov b1dd8a9d11 Merge "roctx range api py script changes" into amd-master
[ROCm/rocprofiler commit: de49d33fed]
2020-08-12 11:19:20 -04:00
Evgeny 3374fe1705 roctx range api py script changes
Change-Id: I1ee994e00fa0283e129f05e2745c0c6caf8aa6b5


[ROCm/rocprofiler commit: 71b1da0eab]
2020-08-07 16:53:24 -04: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
Evgeny 832ab03e46 kernel name filtering fix - handling [] brakets
Change-Id: I46a62d991a52045694640837393df229cf7a3133


[ROCm/rocprofiler commit: 7364edcc5b]
2020-07-29 18:47:31 -05:00
Evgeny Shcherbakov 5b362bd4c1 Merge "return value fix" into amd-master
[ROCm/rocprofiler commit: 0bce9d7281]
2020-07-22 00:28:42 -04:00
Rachida Kebichi 164dcde05a Merge "Dump memcpy info for hsa" into amd-master
[ROCm/rocprofiler commit: 86f32d591b]
2020-07-21 14:59:43 -04:00
Evgeny 01f943e1ff return value fix
Change-Id: Id23dc2cf7f25efbf778a853403e43dd1176d5e33


[ROCm/rocprofiler commit: 8bb860f841]
2020-07-21 01:00:41 -05:00
Xianwei Zhang 27af6bc043 pmc: add parraller kernels 'rocprof' option
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

enable cnocurrent kernels 'rocprof' option

Change-Id: I5088d54879a4bf91e180eba520aa9427304c1713


[ROCm/rocprofiler commit: 4fad73511c]
2020-07-20 12:57:42 -05:00
Evgeny Shcherbakov 423a772b91 Merge "pmc: add support of concurrent kernel profiling" into amd-master
[ROCm/rocprofiler commit: 958b09196a]
2020-07-20 13:52:11 -04:00
Evgeny Shcherbakov 19c1895eb4 Merge "Simple fix for incorrect kernel name" into amd-master
[ROCm/rocprofiler commit: 55e2cc826e]
2020-07-20 13:50:55 -04:00
Rachida Kebichi d96c67b2bf Dump memcpy info for hsa
Change-Id: Ia7ae7f15939a5544f2e846afc049023cadcc0e62


[ROCm/rocprofiler commit: dabb49661b]
2020-07-17 16:32:22 -04:00
Rachida Kebichi 5eb3782e02 Simple fix for incorrect kernel name
Change-Id: I8fe2c552d37aa2e1b8874cead4c126ee48fbc02e


[ROCm/rocprofiler commit: 1a06583d15]
2020-07-17 12:25:33 -04: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
Aaron En Ye Shi a288114390 Merge "Update to use new bitcode library structure" into amd-master
[ROCm/rocprofiler commit: f96c9f49aa]
2020-07-14 15:30:49 -04:00
Aaron Enye Shi e19396bcde Update to use new bitcode library structure
Also, continue support for old bitcode library layout
for backwards compatibility.

Change-Id: Id7f164ecb989a44c22958afce78745552a4babb3


[ROCm/rocprofiler commit: a6f6a13385]
2020-07-13 14:21:33 -04:00
Evgeny dfec1e8668 enabling memory manager by env var
Change-Id: I8fe708882123b1dd62c20afd9e4967e9ab80c97a


[ROCm/rocprofiler commit: 81d768c91f]
2020-07-13 12:58:50 -05:00
Rachida Kebichi e6ab54a04c Fix for ptr type unknown
Change-Id: I17674c689e7051b79d15cc4cae9676c86a8c46ae


[ROCm/rocprofiler commit: 37231cd00d]
2020-07-07 01:16:16 -04:00
Rachida Kebichi 03b77328c4 Removed not needed extra parenthesis
Change-Id: I485c248773e7b0344e754c5ecf3341321216b7b2


[ROCm/rocprofiler commit: f15937f13c]
2020-07-06 12:44:50 -04:00
Evgeny 4187f10eb3 mem_manager.py packaging fix
Change-Id: I8faf85056f97e8bcbc4b3511d351b9974c3c9d75


[ROCm/rocprofiler commit: f6e42f2614]
2020-06-29 13:27:22 -05:00
Evgeny 1a84fa2528 JSON trace dependencies flow to-tid fix
Change-Id: If21b12d0560e7db07b1ff02e0441addff3453cbe


[ROCm/rocprofiler commit: c196fbe0d5]
2020-06-29 01:16:05 -05:00
Evgeny fb7e7f1568 fixing activity correlation for n-process use case
Change-Id: I3e52452b586a08fc9cfcb50851ddcc600c7ef910


[ROCm/rocprofiler commit: d013413cb8]
2020-06-27 04:01:51 -05:00
Evgeny 6678281480 JSON start point fix in multiproc usecase
Change-Id: I84317af41ec0828f08bb2d45803515738167e77a


[ROCm/rocprofiler commit: 60c106a07d]
2020-06-25 10:27:00 -04:00
Rachida Kebichi c4355292ed Merge "memcpy info added to csv, sqlitedb and json" into amd-master
[ROCm/rocprofiler commit: e539bc5dcd]
2020-06-25 10:18:24 -04:00
Rachida Kebichi b223b9f084 memcpy info added to csv, sqlitedb and json
Change-Id: I56f2ec667c7f3741b519f3335a3eec26b34c0ab4


[ROCm/rocprofiler commit: 186a247dbe]
2020-06-24 18:41:21 -04:00
Evgeny d22c364abe cleanup
Change-Id: I518f741d3d3d0bb514936c4db8b727bdc79d9fdc


[ROCm/rocprofiler commit: f214238880]
2020-06-24 12:22:22 -05:00
Evgeny c75faaaa37 concurrent sqtt support
Change-Id: I91391fafabc93aefa5d244d870ef82b96a59dc52


[ROCm/rocprofiler commit: 9f7e936d70]
2020-06-23 20:00:49 -04:00
Evgeny cb337997db tblext.py fixing: 'stream_ind' not-inintialized python issue; app START time message;
Change-Id: Ib17c49daf7c118aa83025d805d707bf3d8e1c88f


[ROCm/rocprofiler commit: 708edfe989]
2020-06-23 19:58:33 -04:00
Evgeny 4ca9b4512c profiler app-replay results merge fix; stream index postproc fix;
Change-Id: If58ca46fb0259b4e69a764935cfd66fc80af507a


[ROCm/rocprofiler commit: 58fadcfa7c]
2020-06-23 13:15:58 -04:00
Evgeny Shcherbakov 6b83ac6e8f Merge "adding SQLiteDB class 'table_get_record' method" into amd-master
[ROCm/rocprofiler commit: a2cc08811f]
2020-06-23 13:10:23 -04:00
Evgeny 0e22fc3961 fixing rocminfo path requirements error - no usage printing
Change-Id: Ib48d6c81e1771976e67562fc34e158e30a532d34


[ROCm/rocprofiler commit: a7179a1c5c]
2020-06-23 13:09:58 -04:00
Evgeny 5649332eb5 json trace normalizing fix
Change-Id: Ia5987fcd3e08808953534fa3ded2df0b17e0e87a


[ROCm/rocprofiler commit: 6c72cdfe82]
2020-06-19 13:40:33 -05:00
Evgeny 80ad421ce0 json trace normalizing for app start
Change-Id: I97480f7461c377096c101cd0dc6ce088f799fbab


[ROCm/rocprofiler commit: dfba287ff2]
2020-06-17 19:01:12 -05:00
Evgeny 29f41330ca adding SQLiteDB class 'table_get_record' method
Change-Id: I122805040764e239b61b641f03f03ddd4a677394


[ROCm/rocprofiler commit: d0a7366897]
2020-06-17 03:33:58 -05:00
Evgeny 669dcf4f05 fix output merging
Change-Id: I7c51e85f8a8e6e5bae67abf74716a658cc533a6a


[ROCm/rocprofiler commit: 68c9f32d6e]
2020-06-15 01:13:19 -05:00
Rachida Kebichi 7289c3619e support for hip multi kernels
Change-Id: I8cc42eb53f075ea4f27dc1287e7ab3fb77916027


[ROCm/rocprofiler commit: 807f17d6ce]
2020-06-11 14:59:22 -05:00
Evgeny 6b422c23a8 JSON GPU activity per stream fix
Change-Id: I3fca861d0b36d26d2800cd39f12cd4485a2b4db9


[ROCm/rocprofiler commit: c4e3d8de32]
2020-06-05 10:16:57 -05:00
Evgeny Shcherbakov bee5356a35 Merge "adding proc-id to activity events" into amd-master
[ROCm/rocprofiler commit: 6a96c90310]
2020-06-04 15:03:34 -04:00
Evgeny b281fb3375 adding proc-id to activity events
Change-Id: I3a4673c8e5d8b115a213d00058e4235a4e68510e


[ROCm/rocprofiler commit: 35e6ac1d0f]
2020-06-03 03:29:24 -05:00