Laurent Morichetti
4aeb76f7a8
Cleanup CallbackTable::Get
...
Make CallbackTable::Get return the callback_function/user_arg pair
as an actual return value instead of returning it through arguments
pointers.
Change-Id: Ia2dfcdad8c237a09620518ad67af94add47220da
2022-05-10 08:13:18 -07:00
Laurent Morichetti
5963363484
Fix assertions
...
Replace EXC_ABORT() checks with assertions.
Rewrite the exception class to use std::runtime_error (as it
already handles the std::string/char* message argument).
Change-Id: I48e31924f3aea1328e6562ab6bb06ec373fd5d5e
2022-04-27 11:24:26 -07:00
Laurent Morichetti
0d7d56eea5
Fix a SEGV when running --roctx-trace
...
There's a typo in RegisterApiCallback, roctx::cb_table.Get should be
roctx::cb_table.Set.
Change-Id: I47ec8ac666f783ff4e03f35d13e375e645899900
2022-04-27 12:14:32 -04:00
Laurent Morichetti
18f60efe05
Fix typos/spelling errors
...
Change-Id: Idec1cb8fab91c30f99563bc7dd4db1faeb2db954
2022-04-26 12:39:38 -07:00
Laurent Morichetti
cd62d841fa
Make roctracer_cb_table.h a private header
...
Move roctracer_cb_table.h to the src/core directory, as it should not
be exposed as a public header, and rename it callback_table.h
Change-Id: Ib448cbd32a275df0268d53bd8d1da0bdc9201470
2022-04-20 19:47:43 -07:00
Laurent Morichetti
15ab5d9cda
Run clang-format on all source files
...
Change-Id: Ifb52ca306286b6b2d473821bed9db28e9f616d50
2022-04-20 22:45:54 -04:00
Laurent Morichetti
06a3da7c63
Fix copyright headers
...
Change-Id: I380d867fa5fb04e68b5b332e9abf33fbeb1e9418
2022-04-19 09:30:45 -07:00
Saurabh Verma
a7cd80b716
SWDEV-295878 Fix for seg fault when using --trace-start off
...
Change-Id: Ic76d814b3591f72db18319d78f34596dae1ddfee
2021-08-31 16:46:59 -05:00
Rachida Kebichi
da17a158f8
Added roctxRangeStart and roctxRangeEnd
...
Change-Id: Id7f81c5a7d7f231c8f0e2323d31c37c827687189
Added roctxRangeStart and roctxRangeEnd
Change-Id: Id7f81c5a7d7f231c8f0e2323d31c37c827687189
2020-08-11 17:28:03 -04:00
Evgeny
57051220a1
roctx/start/stop interaction
2019-10-21 21:18:54 -05:00
Evgeny
a8c5e2edce
fixing clang error
2019-10-02 15:29:09 -05:00
rkebichi
c15059cb2b
Update roctx.cpp
2019-09-06 10:56:25 -04:00
rkebichi
5b444aaef3
Update roctx.cpp
2019-09-06 10:45:25 -04:00
rkebichi
78871331d5
Update roctx.cpp
2019-09-05 16:17:02 -04:00
rkebichi
6e1fbda1c7
Update roctx.cpp
2019-09-05 10:35:28 -04:00
rkebichi
226240ea40
Update roctx.cpp
...
Added roctxRangePushA and roctxRangePop fcts
2019-09-04 15:46:01 -04:00
Evgeny
231e25747f
roctx marka implementation
2019-08-30 08:53:34 -05:00
Evgeny
d2568d7a9f
adding kfd wrapper library and generator; adding roctx code annotation library;
2019-07-23 15:32:58 -05:00