Commit e2155c1
committed
[rocprofiler-sdk] - unable to collect PMC data
Fix unable to collect PMC data when running rocprofv3 --pmc with roccap play.
The issue caused SSH disconnect and node destabilization due to duplicate
/dev/kfd opens in rocplaycap child processes, HSA runtime teardown race
conditions, and signal handler deadlock.
Fix profiler initialization, teardown race conditions, and signal handler
issues to ensure stable PMC data collection with roccap play.
Note: companion fixes for rocplaycap will be submitted separately.1 parent 3ad5411 commit e2155c1
File tree
5 files changed
+43
-8
lines changed- projects/rocprofiler-sdk/source/lib
- rocprofiler-sdk-tool
- rocprofiler-sdk
- counters
- hsa
5 files changed
+43
-8
lines changedLines changed: 26 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1810 | 1810 | | |
1811 | 1811 | | |
1812 | 1812 | | |
| 1813 | + | |
| 1814 | + | |
1813 | 1815 | | |
1814 | 1816 | | |
1815 | 1817 | | |
| |||
3232 | 3234 | | |
3233 | 3235 | | |
3234 | 3236 | | |
| 3237 | + | |
| 3238 | + | |
3235 | 3239 | | |
3236 | 3240 | | |
3237 | 3241 | | |
3238 | 3242 | | |
3239 | 3243 | | |
3240 | 3244 | | |
| 3245 | + | |
| 3246 | + | |
| 3247 | + | |
| 3248 | + | |
| 3249 | + | |
3241 | 3250 | | |
3242 | 3251 | | |
3243 | 3252 | | |
| |||
3418 | 3427 | | |
3419 | 3428 | | |
3420 | 3429 | | |
3421 | | - | |
3422 | | - | |
| 3430 | + | |
| 3431 | + | |
| 3432 | + | |
| 3433 | + | |
| 3434 | + | |
| 3435 | + | |
| 3436 | + | |
| 3437 | + | |
| 3438 | + | |
| 3439 | + | |
| 3440 | + | |
| 3441 | + | |
| 3442 | + | |
3423 | 3443 | | |
3424 | 3444 | | |
3425 | 3445 | | |
| |||
3429 | 3449 | | |
3430 | 3450 | | |
3431 | 3451 | | |
3432 | | - | |
| 3452 | + | |
| 3453 | + | |
3433 | 3454 | | |
3434 | 3455 | | |
3435 | 3456 | | |
| |||
3517 | 3538 | | |
3518 | 3539 | | |
3519 | 3540 | | |
| 3541 | + | |
| 3542 | + | |
3520 | 3543 | | |
3521 | 3544 | | |
3522 | 3545 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
76 | 83 | | |
77 | 84 | | |
78 | 85 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
| 545 | + | |
545 | 546 | | |
546 | | - | |
| 547 | + | |
547 | 548 | | |
548 | 549 | | |
549 | 550 | | |
| |||
0 commit comments