-
Notifications
You must be signed in to change notification settings - Fork 790
[SYCL] Add code location data to XPTI trace in case of exception thrown #8101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
@@ -959,9 +959,10 @@ class Framework { | |||
// have 'nullptr' for both the Parent and Object only if UserData is | |||
// provided and the trace_point_type is function_begin/function_end. | |||
// This allows us to trace function calls without too much effort. | |||
std::array<trace_point_type_t, 13> AllowedTypes = { | |||
std::array<trace_point_type_t, 14> AllowedTypes = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also to clarify with Vasanth if there was an idea that could block me on there changes.
to run clang-format on all files. Some commits were uploaded skipping this step. |
@@ -0,0 +1,8 @@ | |||
add_subdirectory(xptitest_subscriber) | |||
|
|||
add_definitions(-DXPTI_ENABLE_INSTRUMENTATION -gdwarf-4 -O0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
sycl/unittests/xpti_trace/xptitest_subscriber/XPTISubscriber.cpp
Outdated
Show resolved
Hide resolved
sycl/unittests/xpti_trace/xptitest_subscriber/XPTISubscriber.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the runtime changes look good! Couple of small comments.
Could you please add a summary to the PR description?
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
@KseniyaTikhomirova, please, address this comment from @steffenlarsen:
I think you missed one suggestion from me - #8101 (comment). Do you mind making this change? |
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Hi, added description and fixed your comment. Thank you. |
@KseniyaTikhomirova, there are failures in post-commit. Please, address them ASAP. NOTE: there are a few different issues, please, read all logs. https://github.com/intel/llvm/actions/runs/4376461454 |
working on it, thanks |
#8598 waiting for CI checks |
Thanks. I updated PR title. Please, let me know if you have any comments. |
All is perfect. Sorry and thanks a lot. |
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Adds extra information about code location of command submission to exception message.
Now instrumented a few sycl::queue non-variadic methods which takes code location from parameter.
Also instrumented variadic parallel_for where code location is extracted from kernel info.