-
Notifications
You must be signed in to change notification settings - Fork 12
add TaskBlock events for blocking intervals #570
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
base: main
Are you sure you want to change the base?
Changes from all commits
1045a85
aed7b1a
7a250b6
6028fdd
1e1bcd1
b1cb73f
a3a9462
137065c
c7caa46
55073d0
619449a
1cd0f8b
3ee7f42
6bda356
8bb1fed
f82fe70
6ece88d
110abaa
e9f53b9
e2d60da
5ab946c
37df0a5
43471ee
726eb80
3df9af6
893f2fa
5e484d0
321bfce
3bfa844
900c994
8ef7263
317bc44
aa20ac4
a597a9d
07a124d
1fc8c54
28b0fd3
1fb7760
2ada68e
2a8c253
cf4fa5c
0965b24
5619dd4
b22b339
9bbe994
f6e7a92
a3b5edc
e2d5173
61e0bc0
ccad290
a24ebfa
d9f3316
0e9eba6
8dfbe0d
e2bcb4c
a7f38f6
4cb1c19
7b9f70d
7108600
d48de38
c862039
bb6c93b
ffd0b46
b7db495
36f3db5
326dcc2
439aacd
b2084d9
e09112d
821cac8
bfdc687
bb79ff4
b2d5245
0af6e60
b6f846a
38362a0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,7 +57,7 @@ class ExecutionEvent : public Event { | |
| OSThreadState _thread_state; | ||
| ExecutionMode _execution_mode; | ||
| u64 _weight; | ||
| u32 _call_trace_id; | ||
| u64 _call_trace_id; | ||
|
|
||
| ExecutionEvent() | ||
| : Event(), _thread_state(OSThreadState::RUNNABLE), _execution_mode(ExecutionMode::UNKNOWN), | ||
|
|
@@ -206,4 +206,15 @@ typedef struct QueueTimeEvent { | |
| u32 _queueLength; | ||
| } QueueTimeEvent; | ||
|
|
||
| typedef struct TaskBlockEvent { | ||
| u64 _start; | ||
| u64 _end; | ||
| u64 _blocker; | ||
| u64 _unblockingSpanId; | ||
| Context _ctx; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think you need to carry context here. |
||
| u64 _callTraceId; | ||
| u64 _correlationId; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we discussed this already (or maybe it was another place?). |
||
| OSThreadState _observedBlockingState; | ||
| } TaskBlockEvent; | ||
|
|
||
| #endif // _EVENT_H | ||
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.
Uff. Nice catch.