Commit 93f66e7
authored
[PTI-SDK] Fix disabling XPTI when sycl runtime tracing is not enabled (#36)
Until the user enables sycl runtime tracing, XPTI should be disabled after it
is able to capture all the proper tracing streams (e.g. `sycl` and `sycl.pi`).
This fixes a bug where this operation was happening in the wrong place.
The `sycl.pi` stream does not have `graph_create` trace type. Instead, we moved
it to the `funcion_begin` trace type. This will happen when the first sycl
function is called.
Signed-off-by: Schilling, Matthew <matthew.schilling@intel.com>1 parent 4b7f02c commit 93f66e7
2 files changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
| 182 | + | |
184 | 183 | | |
185 | 184 | | |
186 | | - | |
187 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
188 | 192 | | |
189 | | - | |
190 | | - | |
191 | 193 | | |
192 | 194 | | |
| 195 | + | |
193 | 196 | | |
194 | 197 | | |
195 | 198 | | |
| |||
376 | 379 | | |
377 | 380 | | |
378 | 381 | | |
379 | | - | |
380 | | - | |
381 | 382 | | |
382 | 383 | | |
383 | 384 | | |
| |||
0 commit comments