Ammar ELWazir
35ea06abd0
SWDEV-295522: Fixing Performance Issue
...
Removing DEBUG_TRACES and the unnecessary use of roctracer_op_string, made the MS app reporting 78 to 81 stable samples per second, depending on the type of the trace, while the main app without rocprof reports 100 to 106. More detailed numbers will be posted in the ticket.
Change-Id: Ida25d3bfc72047afaa27326d697be76d97564334
[ROCm/roctracer commit: e7327aaac7 ]
2022-04-07 00:07:24 +00:00
Saurabh Verma
e1f9f82198
SWDEV-295871: [MSRCHA-130] Unable to filter API using .txt or .xml -Part-2 of MSRCHA-128. Made xml input more robust to accept both spaces and commas in xml array.
...
Change-Id: I3900fdf91cd0b893fadd9dfc958030effc5663db
[ROCm/roctracer commit: 37ed31087a ]
2022-03-17 17:16:17 -05:00
Saurabh Verma
daa23130ad
SWDEV-295871 : [MSRCHA-130] Unable to filter API using .txt or .xml - Part-2 of MSRCHA-128. Fixed constructor ordering issue of global variables hip_api_vec and hsa_api_vec by wrapping themin static getter functions
...
Change-Id: I2dae5e196118fcab696b2365b24281f05d9d0f88
[ROCm/roctracer commit: aee8102fa6 ]
2022-03-14 16:07:58 -04:00
Ammar ELWazir
023cb806f9
SWDEV-275232: Replaced the use of on_exit()
...
on_exit() registered exit_handler function, but in the case of OpenMP applications the registered exit func exit_handler was called after the dlclose of the library. So we removed exit_handler from roctracer as it is already handled in both rocprofiler and rocprof script.
Change-Id: I7c3d42e6ccc282e713b48b4a7faec4935e7a2600
[ROCm/roctracer commit: aa41554130 ]
2021-10-09 17:36:36 -04:00
Saurabh Verma
3b16547bf6
SWDEV-295878 Fix for seg fault when using --trace-start off
...
Change-Id: Ic76d814b3591f72db18319d78f34596dae1ddfee
[ROCm/roctracer commit: a7cd80b716 ]
2021-08-31 16:46:59 -05:00
Ammar ELWazir
bf410d1747
SWDEV-294319 & SWDEV-294321 Added support for missing functions
...
Added Support for launch kernel functions to fill_api_db
Change-Id: Ie8749806214d6e283c3d408d8019f178f42018bf
[ROCm/roctracer commit: 8396836c25 ]
2021-08-11 11:42:21 -04:00
Christophe Paquot
a9f6522a41
SWDEV-295205 - Remove KFD domain from roctracer
...
Change-Id: I2771cf43aa115bb466531bf887f7cc75e187f2ef
[ROCm/roctracer commit: e5e1258ef8 ]
2021-07-22 10:12:45 -07:00
Christophe Paquot
ae9c760305
SWDEV-281658 - Preserve the callback IDs enum ordering
...
Use HIP_API_ID_NONE to detect unsupported API instead of
HIP_API_ID_NUMBER which can grow with a new version of the API.
This HIP_API_ID_NONE enum has a fixed value of 0 so the
HIP_API_IDs really start at FIRST.
Change-Id: I760aa50ddf6fa6d46bf20555ad7d429335a53f97
[ROCm/roctracer commit: b04dfd5fdf ]
2021-06-30 09:52:20 -04:00
Laurent Morichetti
61e044e67c
Make HIP_VDI the default
...
As this snippet shows, HCC is no longer supported by roctracer:
#if HIP_VDI
...
#else
#error HCC support dropped
#endif
Removed HIP_VDI from the CMakeLists.txt, and the source code.
Change-Id: Ib273da2a5af6d67fa1b021a7eca3ff785c8b9c73
[ROCm/roctracer commit: 8fb3cdb30b ]
2021-05-20 21:20:27 -04:00
Rachida Kebichi
d78eaf664f
SWDEV-255637 support for hsa_amd_memory_async_copy_rect
...
Change-Id: I5db6484c30427712c56b59862e748118a3f079c2
[ROCm/roctracer commit: 06271806d4 ]
2021-03-31 10:02:06 -04:00
Rachida Kebichi
28faba40a7
SWDEV-271503 Fixed core dump
...
Change-Id: Ia582a27482581c3b81c42da0add9f6743898da6c
[ROCm/roctracer commit: ad5b463912 ]
2021-03-30 14:06:56 -04:00
Evgeny
fc65a545a7
SWDEV-251491 : fixing tracing on exit
...
Change-Id: I1bf2a6093331e7a08179b9f64394c5c49206ef0e
[ROCm/roctracer commit: 912cfd4cf8 ]
2020-12-25 01:49:44 -05:00
Evgeny
b81697c07e
SWDEV-251491 : disabling tracing on exit
...
Change-Id: Ifd5f0fbad70afa1e79da8b4b9aa639d899cbea76
[ROCm/roctracer commit: 99eee45546 ]
2020-12-22 04:55:07 -05:00
Rachida Kebichi
bbf605467b
SWDEV-259683 HIP API records filtering
...
Change-Id: I43ca5e022d2c055b6a9bc2c09b4276b490a4b986
[ROCm/roctracer commit: 2d31848c44 ]
2020-12-16 16:29:36 -05:00
Evgeny
e6a0c8a665
Adding dumping of HSA handles
...
Change-Id: I18e2cfdf2574110bffa09d30c7ac1d3941252939
[ROCm/roctracer commit: 7d8fd0606d ]
2020-12-01 16:45:33 -05:00
Evgeny
9eeab1fb91
SWDEV-254329 : extending debug trace with timestamps, cmake option '-DCMAKE_DEBUG_TRACE=1'
...
Change-Id: Id16c01a6c00f6384c37fa9b5a9709a5e98e1fb57
[ROCm/roctracer commit: cb3643da05 ]
2020-10-14 00:07:12 -04:00
Evgeny
65928ee9d1
SWDEV-249924 : hip correlation id explicite propogation; tracer debug instrumentation;
...
Change-Id: Ibbc411541f5610ce739f3fc1efa1ab7f605220f5
initial commmit
Change-Id: I34b360be62c2083819dc5c3acc8268bd69f2f58a
[ROCm/roctracer commit: ef61a39603 ]
2020-10-06 13:25:51 -04:00
Evgeny
7a430d1260
SWDEV-251491 : disabling hipModuleUnload tracing which is called on exit
...
Change-Id: I99c22eec3fea6ac8820d574c44df099febdd27c4
[ROCm/roctracer commit: bb8f2f6785 ]
2020-10-01 12:47:40 -04:00
Evgeny
1b73058fb7
Format ostream ops
...
Change-Id: I8c609b1ef82e02f3547541c2cc47dec3a4f1c7b3
[ROCm/roctracer commit: e9b8de644e ]
2020-08-28 11:30:18 -05:00
Evgeny
9dc7d9cad2
flush-rate option fixed
...
Change-Id: I74ff83ebf2a0a4ba414d30b7cb193522f44660ce
[ROCm/roctracer commit: 156d9327cc ]
2020-08-20 15:11:38 -05:00
Evgeny
1283f08d1e
optimized tool stats
...
Change-Id: Ia9c06879f6e2e195e589c53299c2cafe96a4bfe5
[ROCm/roctracer commit: ddcb68d0a8 ]
2020-08-20 15:11:21 -05:00
Rachida Kebichi
86954dba1f
Added roctxRangeStart and roctxRangeEnd
...
Change-Id: Id7f81c5a7d7f231c8f0e2323d31c37c827687189
Added roctxRangeStart and roctxRangeEnd
Change-Id: Id7f81c5a7d7f231c8f0e2323d31c37c827687189
[ROCm/roctracer commit: da17a158f8 ]
2020-08-11 17:28:03 -04:00
Evgeny
2567ef572e
fixing activity correlation for n-process use case
...
Change-Id: Ied5b0d112719784fa00bfbf540bc30950ca147ea
[ROCm/roctracer commit: 086a88288e ]
2020-06-27 01:08:57 -05:00
Evgeny
3e2239b099
adding post initialization of HIP API pointer args to print returned by reference values
...
Change-Id: Ifb73434d7ab9cd2dfe8811fc0cd013b78f4e12f2
[ROCm/roctracer commit: a83acdae3a ]
2020-06-23 20:00:09 -04:00
Evgeny
cda33400ef
adding begin_ts_file.txt for app start time
...
Change-Id: I976e7bf06eeafa76c80cc847c341dde9f1f5895e
[ROCm/roctracer commit: c9a7d6c4a8 ]
2020-06-17 18:59:38 -05:00
Rachida Kebichi
09f3e5e402
support for hip multi kernels
...
Change-Id: Idc8945f924ceb35081e153921181b96ee5f653b6
[ROCm/roctracer commit: 64ee8f29ef ]
2020-06-11 15:13:33 -04:00
Evgeny
189a1520b3
adding proc-id to activity events
...
Change-Id: I83b587651819a7cb08ffdd5f85bfe82927521720
[ROCm/roctracer commit: 84ed8c4b63 ]
2020-06-03 03:26:36 -05:00
Evgeny
edeec18db9
adding tracer flush/unload stage unloading
...
Change-Id: Id84774b2ce20b261a9a84d2ad802b76093a748d4
[ROCm/roctracer commit: 07479cf881 ]
2020-06-02 05:10:02 -05:00
Evgeny
802ee7dee6
hipLaunchKernel kernel name fix
...
Change-Id: I59c63ec34f77fe39ed1edc8b6395db3871004e40
[ROCm/roctracer commit: 511f659a8e ]
2020-05-29 13:16:14 -04:00
Evgeny
ecf2c9e22b
disabling kernel name printing for kernel launches by func pointer and ostream operator template
...
Change-Id: Icbcedafb1812a1be03837f6cb47283eb0d382ad2
[ROCm/roctracer commit: 9d4a58f6da ]
2020-05-27 05:23:29 -04:00
Evgeny
755333d0b8
renaming PCSAMPLE API as RESERVED1
...
Change-Id: I0f95e4be5b359dc36fc3542bf0e321094db78a79
[ROCm/roctracer commit: da4b244887 ]
2020-05-21 11:51:17 -05:00
Evgeny
7c98010b44
SWDEV-236864 : packaging of generated headers
...
Change-Id: Ifda69eecf3697f6b69c978b3c4c2ffe9835edeb8
[ROCm/roctracer commit: 074306d997 ]
2020-05-18 18:08:06 -05:00
Evgeny
b03fd5ace0
hip apr stream porting to hip vdi; hip_api_string off by default
...
Change-Id: I2a9b55b8bdc372743b175797c0d4827fe8931033
[ROCm/roctracer commit: 98dbca9058 ]
2020-05-13 06:06:17 -05:00
Evgeny
7a98434790
buffer wrap-thread startup fix
...
Change-Id: I857cff63d28dcc068eddbd3ae2bc0193c428ec41
[ROCm/roctracer commit: 3d4f6b3002 ]
2020-05-07 06:45:29 -05:00
Evgeny
bda463c310
hip launch api tracing fix
...
Change-Id: I1785ff7c56d982ac85bb921caaccb60ab5b4389d
[ROCm/roctracer commit: 0248ebdb13 ]
2020-05-06 19:42:46 -05:00
Evgeny
64314d0970
HIP API cb kernel name fixing
...
Change-Id: I296d652368b20c42283c9c46c44dbef64aae3772
[ROCm/roctracer commit: 0cca78c9c9 ]
2020-05-06 03:55:41 -05:00
Rachida Kebichi
c982d7a896
Added begin/end timestamps to hip events
...
Change-Id: I2689bef675db92f202d60a1fe12c500cd569aa63
[ROCm/roctracer commit: 46f61d7a1e ]
2020-05-05 22:04:56 -04:00
Rachida Kebichi
99b6e667cf
Added generation of hip ostream operators
...
Change-Id: I5d07ea07cdd94097cb44619c29d9deba54e5d6a5
ostream ops code cleanup
Change-Id: Ia4e287de1e1953f5d323a0066c29aa6056442139
[ROCm/roctracer commit: 72b0d25ea4 ]
2020-05-01 16:15:01 -04:00
Evgeny
cbe8c08bda
adding HIP_PROF_HIP_API_STRING macro
...
[ROCm/roctracer commit: 0cd31f8295 ]
2020-04-14 13:12:52 -05:00
Evgeny
5a61fe67a9
reverting hpi flush function
...
[ROCm/roctracer commit: 57766f143e ]
2020-04-10 15:57:59 -05:00
Evgeny
e568559864
using hipApiString() if defined
...
[ROCm/roctracer commit: a46c6984a2 ]
2020-04-10 01:15:20 -05:00
rkebichi
3199f58557
Update tracer_tool.cpp
...
[ROCm/roctracer commit: a6878a7ce5 ]
2020-03-30 19:06:10 -04:00
rkebichi
6a2613fd4b
Update tracer_tool.cpp
...
[ROCm/roctracer commit: 3ab6e03bda ]
2020-03-30 17:02:59 -04:00
Evgeny
e6a61fc63e
enable tool reloading
...
[ROCm/roctracer commit: 1be273a1b4 ]
2020-03-14 00:13:22 -05:00
Evgeny
19322871ee
compatibility with pre-pcs rocprofiler version
...
[ROCm/roctracer commit: 3568ca4dbb ]
2020-03-11 11:33:27 -05:00
Evgeny
bc7acebcea
pc sampling integration fix
...
[ROCm/roctracer commit: d2243ef1ec ]
2020-03-07 19:09:54 -06:00
Evgeny
aeeedac557
hcc_ops_trace.txt on request
...
[ROCm/roctracer commit: b4f2aa1a1c ]
2020-02-27 13:39:56 -06:00
Evgeny
17dc38adc3
roctx condition for timestamp or clocktime
...
[ROCm/roctracer commit: eb91d35df2 ]
2020-02-13 21:03:14 -06:00
Evgeny
a16884ba06
constructor partial initialization
...
[ROCm/roctracer commit: f22bf1e972 ]
2020-01-29 23:46:38 -06:00
Evgeny
d7c7cb0809
saving time for roctx records
...
[ROCm/roctracer commit: e9087dcd86 ]
2020-01-29 23:39:08 -06:00