Commit 5d4741c
authored
[EBPF] gpu: suppress insufficient size error on GetRunningProcessDetailList (#47675)
### What does this PR do?
Supresses the `insufficent_size` error on `GetRunningProcessDetailList`.
### Motivation
In some implementations of NVML, it seems this API returns "insufficient size" when being queried. Suppressing the error removes noise with no functional changes, as there are fallback APIs for the same metric.
### Describe how you validated your changes
Added unit test, validated in Hopper GPU.
### Additional Notes
Co-authored-by: guillermo.julian <guillermo.julian@datadoghq.com>1 parent 34136dc commit 5d4741c
File tree
2 files changed
+16
-0
lines changed- pkg/collector/corechecks/gpu/nvidia
2 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
199 | 207 | | |
200 | 208 | | |
201 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
463 | 471 | | |
464 | 472 | | |
465 | 473 | | |
| |||
0 commit comments