Commit 9385541
authored
reporter: emit CUDA PC-sample frames (cuda-pc) for per-function symbolization (#3186)
Add the CUDAPCFrame case to both location-writer paths (appendLocationV2
and the V1 record path): one mapping per cubin (build_id = cubin CRC
FileID), the kernel's mangled name as the system name of a placeholder
line (line 0, no function name), and the "cuda-pc" frame type. The
backend resolves the source line per function off the kernel name.
The stall reason and SASS instruction arrive as the cuda_stall_reason /
cuda_sass_instruction sample labels (trace.CustomLabels, handled
generically), independent of the frame.
Bumps the ebpf-profiler fork to pick up libpf.CUDAPCFrame and the
single-frame GPU PC-sample emission (parca-dev/opentelemetry-ebpf-profiler#300).
Pinned to a main commit pending a tagged release.1 parent 0b51e14 commit 9385541
1 file changed
Lines changed: 52 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
617 | 643 | | |
618 | 644 | | |
619 | 645 | | |
| |||
1792 | 1818 | | |
1793 | 1819 | | |
1794 | 1820 | | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
1795 | 1847 | | |
1796 | 1848 | | |
1797 | 1849 | | |
| |||
0 commit comments