Gráfico de commits

101 Commits

Autor SHA1 Mensaje Fecha
Laurent Morichetti 15ab5d9cda Run clang-format on all source files
Change-Id: Ifb52ca306286b6b2d473821bed9db28e9f616d50
2022-04-20 22:45:54 -04:00
Laurent Morichetti 89f6880371 Simplify journal.h
Simplify implementation of journal.h.

Change-Id: I9e2e93fd3cd3391fdf182249f5c4c5ef3debae03
2022-04-20 19:43:16 -07:00
Laurent Morichetti 06a3da7c63 Fix copyright headers
Change-Id: I380d867fa5fb04e68b5b332e9abf33fbeb1e9418
2022-04-19 09:30:45 -07:00
Ammar Elwazir 57add1a6fa Revert "SWDEV-295522: Fixing Performance Issue"
This reverts commit e7327aaac7.

Reason for revert: Merged by mistake

Change-Id: I8c39c823d92cc20a238ca6120dde4b2fa9121e85
2022-04-07 06:55:34 -04:00
Ammar ELWazir e7327aaac7 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
2022-04-07 00:07:24 +00:00
Ammar ELWazir 513460bd41 SWDEV-294248 (Fixing Race Conditions):
Fixing race conditions that happened when enabling trace-period feature on the following code:
#include <hip/hip_runtime.h>
__global__ void
kernel ()
{
}
int
main (int argc, char **argv)
{
  for (size_t i = 0; i < 10000; ++i) {
    hipLaunchKernelGGL (kernel, 1, 1, 0, 0);
    hipDeviceSynchronize ();
  }
  return 0;
}

Change-Id: I4eb88a4a71efbad0f6483e7fb6e8e0c6a662860b
2021-08-11 22:48:55 -04:00
Ammar ELWazir 1e3ed06a9a Fixing correlation_id_map
Changing correlation_id_map to static instance instead of being a pointer and fixing the corresponding references

Change-Id: Id8a481a90b46831f91985a7e0523fd2869991aeb
2021-08-09 14:05:52 -04:00
Christophe Paquot e5e1258ef8 SWDEV-295205 - Remove KFD domain from roctracer
Change-Id: I2771cf43aa115bb466531bf887f7cc75e187f2ef
2021-07-22 10:12:45 -07:00
Christophe Paquot b04dfd5fdf 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
2021-06-30 09:52:20 -04:00
Evgeny 912cfd4cf8 SWDEV-251491 : fixing tracing on exit
Change-Id: I1bf2a6093331e7a08179b9f64394c5c49206ef0e
2020-12-25 01:49:44 -05:00
Rachida Kebichi 2d31848c44 SWDEV-259683 HIP API records filtering
Change-Id: I43ca5e022d2c055b6a9bc2c09b4276b490a4b986
2020-12-16 16:29:36 -05:00
Evgeny b83ffeeab8 SWDEV-258731 : cleanup
Change-Id: Iabcc81576eb8b6c0484eae820c3e25a896da6c5b
2020-12-02 13:52:57 -06:00
Evgeny cb3643da05 SWDEV-254329 : extending debug trace with timestamps, cmake option '-DCMAKE_DEBUG_TRACE=1'
Change-Id: Id16c01a6c00f6384c37fa9b5a9709a5e98e1fb57
2020-10-14 00:07:12 -04:00
Evgeny 29c63c5281 SWDEV-213367 : codeobj event implementation
Change-Id: Ibcaca6869ce96d8802c5fa8ba241f43834d6f2a7

update - codeobj event implementation

Change-Id: I4c12f26a19f2b31d9ac2211c3426a0e587a332b3

update2 - codeobj event implementation

Change-Id: Ic877549a83542ae00352503471d881e847ebac9c

test - codeobj event implementation

Change-Id: I0618d3a93de94c3d7467372ba4a3d4ea5520bfc7

URI reference test - codeobj event implementation

Change-Id: I6cf7e8a648cf012cb0708058b118a75e58f992b9

adding test/app - codeobj event implementation

Change-Id: Idf4c197c7b9116ccde5ec50ff47a26a858bfab32

uri test fix - codeobj event implementation

Change-Id: I7c385f82f516d9d8f2cd726366f00be3664006e3

uri test cleanup - codeobj event implementation

Change-Id: I542d5baf88c048c8b4717af843b803cd93e8f3bc

URI buffer fix - codeobj event implementation

Change-Id: Iac65e04c03a0939935c10f53c6b580a2e33878f5

HSA events tests trace-check disabled

Change-Id: I0f4d13aeeceb1d1a6e2191673eacbf9c7ae2ae52
2020-10-09 08:36:12 -04:00
Evgeny ef61a39603 SWDEV-249924 : hip correlation id explicite propogation; tracer debug instrumentation;
Change-Id: Ibbc411541f5610ce739f3fc1efa1ab7f605220f5

initial commmit

Change-Id: I34b360be62c2083819dc5c3acc8268bd69f2f58a
2020-10-06 13:25:51 -04:00
Evgeny 156d9327cc flush-rate option fixed
Change-Id: I74ff83ebf2a0a4ba414d30b7cb193522f44660ce
2020-08-20 15:11:38 -05:00
Evgeny ddcb68d0a8 optimized tool stats
Change-Id: Ia9c06879f6e2e195e589c53299c2cafe96a4bfe5
2020-08-20 15:11:21 -05:00
Evgeny 07479cf881 adding tracer flush/unload stage unloading
Change-Id: Id84774b2ce20b261a9a84d2ad802b76093a748d4
2020-06-02 05:10:02 -05:00
Evgeny 3d4f6b3002 buffer wrap-thread startup fix
Change-Id: I857cff63d28dcc068eddbd3ae2bc0193c428ec41
2020-05-07 06:45:29 -05:00
Evgeny 463869d556 optimize HIP API tracing
Change-Id: I43df8d8c4d2165d6ad63665b8bd1d86f99c5dffc
2020-05-05 04:08:13 -05:00
Evgeny 95d05100a7 HIP libraries static definition
Change-Id: I7cd45b491f35d5890246f8d4b1ce358f62b4c682
2020-04-20 12:38:02 -05:00
Evgeny 5e5fe9917d normalizing trace comparison mechanism 2020-03-27 00:32:18 -05:00
Evgeny 1be273a1b4 enable tool reloading 2020-03-14 00:13:22 -05:00
Evgeny 3568ca4dbb compatibility with pre-pcs rocprofiler version 2020-03-11 11:33:27 -05:00
Evgeny 7965a02680 fixing rocprofiler activity enabling 2020-03-09 21:13:44 -05:00
Evgeny d2243ef1ec pc sampling integration fix 2020-03-07 19:09:54 -06:00
Evgeny 8b63135ced PC sampling initial bringup 2020-02-28 14:01:40 -06:00
Evgeny f214221bb2 control of trace buffer thread start 2020-01-27 14:31:24 -06:00
Evgeny 1c79061bb3 filtering start/stop callback if already started/stopped 2020-01-15 12:57:28 -06:00
Evgeny 077f8ec6b6 normalizing C API 2019-12-29 03:06:11 -06:00
eshcherb e212670fe8 Merge pull request #31 from whchung/feature-roctracer_get_timestamp
[Feature] Introduce a new API roctracer_get_timestamp().
2019-12-26 17:41:44 -06:00
Evgeny dceeb6846e checking hip/hcc loader enabled 2019-12-25 05:51:19 -06:00
Wen-Heng (Jack) Chung b7aa8fedb7 Introduce a new API roctracer_get_timestamp().
roctracer_status_t roctracer_get_timestamp(uint64_t* timestamp);

Get system timestamp for roctracer clients.

The API could be used to help roctracer clients understand the reference frame
of timestamps when receiving activity callbacks, as the nanoseconds reported in
the activity callbacks are not in the same reference frame as CPU walltime
clock.
2019-12-19 18:05:33 +00:00
Evgeny 0316b23df0 enabling of trace disable for HIP-VDI 2019-12-08 12:38:19 -06:00
Evgeny e606af1499 corremation id initialization fix 2019-12-08 12:11:50 -06:00
Evgeny c58f1f411c hcc corr id wait enabled by default 2019-12-05 18:13:30 -06:00
Evgeny 9d37542470 lib onload trace 2019-12-05 18:08:17 -06:00
Evgeny 7138c5787b enabling hip id wait for HIP-VDI 2019-11-27 19:39:32 -06:00
Evgeny 0560d99d0f hip_vdi: disabling calllback/activity disable 2019-11-27 19:10:53 -06:00
Evgeny 8e85eb1cef global counter optimizing 2019-11-19 23:19:11 -06:00
rkebichi e57a2125d7 Update roctracer.cpp 2019-11-12 17:26:52 -05:00
Evgeny 6a442864a3 hip-vdi sync activity callback fix 2019-11-06 09:11:11 -06:00
Evgeny 086a8f4aa6 update 2019-10-25 20:10:44 -05:00
Evgeny 2303c1e398 enabling rocprofiler kernels trace 2019-10-25 17:46:34 -05:00
Evgeny eb4bf2dac6 hip-vdi changes 2019-10-25 00:53:26 -05:00
Evgeny 807745c573 hip-vdi library name 2019-10-22 17:44:37 -05:00
Evgeny 72a2571b22 hip-vdi support 2019-10-21 23:03:20 -05:00
Evgeny 57051220a1 roctx/start/stop interaction 2019-10-21 21:18:54 -05:00
Evgeny c2cb1f2ab9 KFD_WRAPPER macro 2019-10-16 12:18:13 -05:00
Evgeny 72b5494f0b start/stop API 2019-10-09 01:00:05 -05:00